Yes it could be done with relays and new wiring.