Yes, there is 12 vdc available there it's on the same circuit as the tail light, 'parking' light under the hadlight bulb and internal lighting for the tachometer and speedometer .
According to the wiring diagram that I have at work , there are 4 wires on the ignition switch, red goes on terminal 30 of the switch, grey wire on terminal 58, green wire on terminal 15, the last one green with a violet spiral band looks like terminal 53, my enlarged copy of the wiring diagram has a few of the terminal numbers 'washed out' , when I get home, I'll check the original size diagram to get the correct number .
The terminal numbers are molded into the bottom of the switch body next to the metal terminals .
At least on the US model bikes, there are more terminals on the switch, than there are wires, don't know if non US model bikes are different . .