Pretty sure this gave me a semi seizure last night
I kept waking up to this electrical shock feeling. I would be paralyzed for a split second and inhale deeply before I regained control....what could this be?
Sleep paralysis?
Sounds like you were right on the edge between waking and dreaming. Sleep paralysis happens every time you go into REM sleep. It's an important feature -- otherwise you'd be kicking and flailing every time you dreamt about running. Thankfully, it's very rare to be dreaming AND awake at the same time... it's a weird experience for sure!
Chief Cheems