Dear young man, from the details of history you provided it seems that u are facing difficulty at the onset of sleep. Many other people also face dreams or hallucinations at the onset of sleep . However there are many other possibilities.
It seems that u are in your late phase of transition to adulthood, many factors influences sleep.
Stress related to education , career, friendship, relationship with relatives and parents, relationship with girlfriend, and the most important is relationship with self.
Conflict between various different kinds of needs arises out of it . Any kind of stress manifest in the form of anxiety and sleep disturbances can be part of it.
Various other factors also include irregular daily routine, nutritional and
vitamin deficiency due to inadequate diet, lack of physical exercises, intake of addictive substances like alcohol and many other.
Next Steps
i would like u to consult some psychotherapist or PSYCHIATRIST if u r facing distress due to sleep disturbances