I don't actually know how a mod would send commands to the traffic light system, but if it were possible, you could just have the light turn green sooner when the player is facing it...
Also you could do a Watch-Dogs-style traffic light hack and have everyone crash into the middle!
But yeah I doubt there's an easy way to communicate with whatever base game script handles the traffic lights.