My sincere advice will be better you go to an Ent specialist
and get it checked. these sudden blackouts may be the effect of vertigo
which happens due to some ear problems which are mostly curable with medications. these problems are independent of the sleep cycle
.so get checked as early as possible.