I doubt its possible to have the lights go on/off through software given that the lights are not under software control like the engine, abs, dtc, etc. These bikes don't put the lights on the canbus.
AFAIK, the only thing that happens when you disconnect the lights is you get a lamp failure icon on the instrument panel.
- Mark