It could have been, but I replaced the wiring with a loom containing 2 relays. I kept the existing wiring for the sidelights and the trigger for the relays as they will still work if the voltage is less than 12v, and ran a new wire from the battery to provide the current for the lamps.
I used a loom like this one: