So I've google diagnosed myself with Hypnopompic hallucinations, meaning hallucinations that occur as you are waking up. I'm still reading up on this, but it's been going on for years now so I'm pretty confident that I'm accurately self-diagnosing. Anyway for the last few years it's been inconvenient and mildly embarrassing but not a huge deal. My theory is that the hallucinations trigger a fight or flight response from me, and it has always been a flight response. I'll dive out of bed, throw my blankets over something that isn't there, although it doesn't progress very far past that as I wake up and the hallucinations stop. A handful of times I've become aware of the fact that I'm hallucinating before the hallucinations stop but this is rare.
For the last couple months, these hallucinations have been instead triggering a fight response. I'll lurch out of bed attacking a phantom that isn't there. I've hit things near my bed, and swung at a concrete wall hard enough that I'm lucky not to have broken my hand. I have a sleep study coming up because my doctor suspects sleep apnea, but god if I'm not terrified that a nurse is gonna come to wake me up and I'm gonna absolutely clobber her. Obviously I'll mention the hallucinations but I wouldn't be surprised if they don't take me seriously.