Small amounts of condensation is normal. The headlights are not pressurized or hermetically sealed so some moisture in the air will cause condensation. I get a little condensation when they face the sun and then it goes into the shade and temp drops. It burns off from the heat of the lights.
If there's a lot of condensation, then something's not sealed properly and letting in too much moisture.