Yes it is!
Florida law
(7) Flashing lights are prohibited on vehicles except as a means of indicating a right or left turn, to change lanes, or to indicate that the vehicle is lawfully stopped or disabled upon the highway or except that the lamps authorized in subsections (1), (2), (3), (4), and (9) and s. 316.235(5) are permitted to flash.
This does not refer to original equipment hazard lights. It refers to flashing lights like police-type lights or add-on auxiliary lights. Not to get into a peeing contest with you but I am a former Florida Cop so I have a little knowledge about this.