You can try putting in capacitors before the ballast. I had flickering issues with my HID fog lights and I soldered a 4700uF 35v capacitor on each side. Solved the problem.
However, I would suggest you getting some projectors such as DEPOs.
Mods: Charcoal Filter Delete, K&N Drop-in, Air Scoops, HID Angel Eyes, OEM Style Splitters, M3 Lip Spoiler, Gloss Black Kidney Grills, Escort Redline, Cheetah C50, Blackvue DR500-GW, M-Tech rear, BMW Performance Exhaust