No. The best way is to screw down the track. If you can't and are just looking for temporary fastener elastics work between track but I am not sure about the switch attachment. You could set them on cardboard and use a glue gun. The correct way is to just tighten the pins into the track using a special pair of pliers.
How about that Joe, I would have never thought they'd work. That is one for the trivia books, T-Man is right! I would have bet money on them not working, but I have an out, I don't have any O22 switches to look at.