How do you get out of functional freeze?

Hello, I want to get straight to the point I have been under constant physical and mental stress for few years in the past ( almost for 3 years ) When the “ trigger/cause “ was gone, I found myself unable to get out of bed and do normal chores ( cleaning, making a meal, going to the gym, reading) instead, I was doomscrolling all the time, bed rotting, chronically online consuming fast dopamine! I don’t think it’s depression because I have been able to feel positive feelings plus I still care about getting my life on track.. I read that functional freeze comes after a prolonged period of time in which the person is in constant panic/stress mentally and physically but mostly mentally.. so..I allowed myself to rest and do nothing! There was a time in the past before all that when I was able to do so much with so much motivation and discipline! Maybe that “ too much “ is the reason why I am fried up now! I can not find the discipline in me to get out of bed and stick to a successful routine, mind you i have a plan all written and ready to be executed, but I can not seem to fully stick to it because I find that bed rotting and doomscrolling is Easier to do on daily basis. My brain beats me up everyday from the guilt and shame of being this dysfunctional, but my body feels so heavy to carry around.