You mean you're painting the chrome insert white? That sounds awesome.
Yeah, just make sure whatever you get is CLEAR SILICONE. Don't settle for less, or any other imitation. Stay away from GOOP. It may come clear but it's not silicone, though it's known as a clear sealer. GOOP will also f'ck up your headlight lens. Just something you should look out for.

If you need help clearing headlights, you can send me a PM as I've done it so many times.