I had the same issue for several months this summer. I kept trying to doze off to sleep, then would wake up. I eventually bought a Contec SpO2 watch with O2 finger sensor. I wear it at night to record what was going on. Immediately upon falling asleep, I'd have transitional Central Apneas happen. Then I'd wake up immediately upon dozing. It would repeat and repeat. I'd eventually give up trying to get to sleep and wouldn't sleep for a night.
I also had crazy random muscle spasms and jerks, especially in my neck and head area. My doctors claimed it was all "stress" and "anxiety" causing these symptoms. They had no solution, and I even went to the ER twice this year because I couldn't get to sleep.
I did find out though, that in May I had DVT/PE (blood clots in lungs), and I was in the hospital for a few days. During a couple nights, I told them to monitor my O2 levels which they did. The hospital O2 alarm kept going off, because my O2 would drop, just like it did when I was at home. And I would have the same terrible Central Apneas happen. This continued to happen for a week or longer after I was home and put on blood thinners. But it has since gone away for the most part.
I also found out I had gallstones, and during the day I had this "unwell" feeling all the time. Especially after eating and taking my Multaq and Bystolic for AFIB. I thought it could be medicine causing the issue. But I think all of these symptoms were caused due to a combination of my anxiety/panic disorder, blood clots, and the gallstones.
So far for the last couple of months, I haven't experienced any transitional Central Apneas. But I do occasionally wake up and have insomnia. I take a very low dose of Klonopin and Melatonin at night to sometimes sleep. This helps, and doesnt seem to affect my breathing.
My only current issue is that I still get dizziness and feel faint when I stand up sometimes! Last night I was on my couch, I stood up, and immediately the room started spinning, and I felt like I was going to pass out. I took my Blood Pressure and it was a little high, 153/90. Went to the clinic this morning and they had no answers. An EKG was normal.