NO.... HID requires a high voltage ballast and will not tolerate the high speed switching. But you could get creative with your driving lights to do the modulation.
Modulating anything other than your main headlight could (sooner or later) attract unwanted attention from law enforcement - local boy on "lit up" Harley got BIG trouble for having "flashing" driving lights. Seems county sheriff and local judge agreed his flashing lights were proof he was "impersonating" a law officer.
One of my riding buds carries a copy of an article about headlight modulators being "legal" in all 50 states because he has been stopped a LOT by local law enforcement for "illegal headlight" while riding the backroad twisties in NE Okla.