That's hypnogogic hallucinations. You can use this to consciously enter a dream in the morning, it's called a WILD.