Crikey, you have been "through the mill."
It sounds like you've had a reaction to the intense pressures you've recently been under. I suspect that in the aviation world, you're not alone. What's reassuring is that you've recognised your limitations, and have reacted, and sought help, accordingly, and it's great to hear that you are making a good recovery. All credit to you.
It's difficult to give you advice regarding your career. Only you will know when the time to return is right.
Some may say "get straight back on the horse."
I'd be wondering if a year out would help ?