@cazzie It could be. There are studies that show it happens more often with night workers and people who have been deprived of sleep.
It seems that most people don’t like it and want to stop it. If you want to stop it, here are the suggestions I found in the article cited above:
A combination of lifestyle changes and behavioral therapy can offer relief for the mild to moderate hypnogogia sufferers. An increase in the quality of nutrition, exercise and reduction of stimulants may offer a natural way to treat the problem. For the more serious cases, medication in addition to lifestyle changes and behavioral therapy reduces the severity of the episodes and possibly reduces the number of episodes. There is currently no cure for hypnogogia, but patients that educate themselves on the disorder and experiment with treatment options will find the right combination for them.