Yes, It's quite simple. Run an additional wire from the earth connection on the points cover to a switch, maybe behind the toolbox, and leave it earthed out whilst the bike is standing. It won't harm the magneto. However, if anybody wants to ride it off, all they have to do is pull the earth wires off the end of the magneto. I'm advised, by a bike security firm, the best way of protecting your bike is first, a bl@@dy big lock, then a tracker. Now that the bikes are less valuable, it may be less of an issue.