I'll add that you might go to a doctor to get various levels checked. Thyroid levels can cause something similar. You might just rule that out first.
Otherwise, post pandemic I was in a similar situation. Some combination of time off, reduced load (stress), more sleep, more exercise, better nutrition all finally added up to getting me out. Good luck.