Welcome to the community on the forum. Sorry to read of your recent separation. I believe that when we experience a separation, the loss of a loved one and a change in circumstances that we don't expect, we go through a grieving process.
There are different steps we go through when we grieve, it is a natural response to a sense of loss.
It sounds like you have been committed to working on your physical health, that is commendable. When I am depressed or anxious, I often find it difficult to eat healthy or exercise, so well done.
Are there activities you do enjoy that you could try to increase in your life? Make a list of things you might be able to do then decide how you could achieve those things in easy to do steps.
It sounds to me as though you know where you don't want to be, where you would rather be, you just need to connect those two up.
Can you make a plan for what you can do when you get home after work? I find that spare time when I am feeling depressed is unfulfilled time. Filling that time with a few positives is so beneficial.
At the end of each day, can you think of 3 things to be grateful for?
This is a safe place to share how you are feeling. People here understand emotions and mental health.
Cheers for now from Dools