Having looked behind the section of the dash that houses the hazard switch I'd say the wires would be long enough but all the switches in that part of the dash are in one loom. You'd have to dig the loom out and separate the wires for the hazard switch.
One thing you could do is to buy a couple plugs and repair splices and make a harness. Wouldn't be too hard.
I did it, but it was a PITA. There are 9 wires in the back of that switch that I had to extend. I also had to extend the wires on the back of the cdl to get it to reach the bottom row in the center dash.