There can be a link
Brain fatigue, and loss of sleep quality and quantity, can lead to rem [dream] sleep deprivation
, and "breakthrough" psychotic type experiences such as experiencing dreamy or nightmare states in mixed consciousness states.
Even auditory and other hallucinations. And, yes, dissociation of consciousness can occur more freq in such fatigue. Other causes or factors should also be examined, too.