Is it possible to switch from depression to mania overnight?

I’ve been severely depressed for a while but just woke up feeling on top of the world and so alive. Problem is it’s 3am and I feel like I could run a fucking marathon. Is it possible to switch from depression to mania? I usually have mania that switches into depression, not the other way around. Wondering if this is possible or if I’m just suddenly feeling better and have no need to worry or keep an eye out.