I had a similar experience yesterday! My partner was really late back from work and he hadn't text me. Of course my anxious brain immediately thought something was really wrong. I ended up on my yoga mat and was fine, as was he when he got home!
Like you, I realised how much time I wasted either drunk or passed out. That lateness wouldn't have even occurred to me in my drunken stupor. I felt kind of pleased that I was aware and sober and could take note of how I felt.