There are similarities, but they are not entirely identical. Lucid dreams occur when a person becomes aware that they are dreaming, and is often noted with narcolepsy and sleep paralysis. Hypnopompic hallucinations also occur in a transition state. Yet the two are different enough that some researchers are working to see how hypnopompic episodes might be induced, or created, in order to lead into lucid dream states. This may improve the understanding of these states, and lead to potential sleep disorder treatments.