The short answer
Yes, for most people it is normal. Seeing images, faces, or short scenes with your eyes closed, especially as you drift off or as you wake up, is a common experience. It is usually harmless.
What it looks and feels like
People describe a wide range of experiences. Some see shapes, patterns, or colors. Others see faces, objects, or short scenes that feel like a dream but are not tied to any story. Some hear voices, music, or a sound that seems to come from nearby. Many people also notice a brief jerk of the body or a sense of falling just as they drop off. These are often called hypnic jerks, and they are very common.
How it differs from daydreaming
Daydreaming and mind-wandering are different. When you daydream, you usually know where you are, and your thoughts move in a fairly familiar way. The images that appear as you fall asleep or wake up can feel more vivid and less under your control, and they may seem to come from nowhere.
Hypnagogic and hypnopompic imagery
The images that appear as you fall asleep are often called hypnagogic imagery. The images that appear as you wake up are often called hypnopompic imagery. Both happen in the gap between being awake and being asleep, when the brain is moving between sleep and wakefulness.
These experiences are common, and many people have them without noticing them much. They may be more frequent when you are very tired, stressed, have an irregular sleep schedule, or have recently changed your routine. Some medications and caffeine may also make them more noticeable, though this varies from person to person.
Sleep paralysis, and why it can feel frightening
Sometimes the boundary between sleep and waking blurs in another way. You may wake and find you cannot move your body for a short time, often with a feeling of pressure in the chest or a sense that someone is in the room. This is called sleep paralysis. It is common and usually lasts only seconds to a few minutes. It is not dangerous in itself, although it can be very frightening.
If it happens to you, it can help to try to move a finger or a toe, which often ends the episode. Keeping a regular sleep schedule may also make these moments less frequent.
When to see a doctor
Most of the time, dreaming with your eyes closed is nothing to worry about. It is worth talking to a doctor or sleep specialist if the images or sleep paralysis happen often and disrupt your sleep, if you feel very sleepy during the day, or if strong emotions make your muscles suddenly weak. Any new symptom that worries you is also a good reason to ask a professional.