Of course! It is completely fine to have a little light at night.
Just avoid light sources that may disrupt sleep or cause safety issues:
 - keep it dim as too bright light may disrupt the circadian rhythm.
 - avoid blue light for the same reason. Go form warm tones.
 - if possible, avoid direct light. From bed, the light source itself should ideally not be visible.
 - don't rely on fire based light sources such as candles. Not only for the obvious fire hazard, but also because it negatively impacts the air quality, emitting CO2, soot, and other fine particulates into the air.

Ultimately you want to improve sleep quality and consistency, and not harm it. If a little light helps your child to be more comfortable, there is no issue to provide it.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence