Yes, I actually have, depression and anxiety are not an inherent trait like Autism or ADHD, they are linked to our circumstances, environment and perspectives of ourselves and our outlook on the world's conditions.
Sometimes circumstances change and I may get depressed for a few months, but it is not a looming and endless depression like it was before.
Stabilizing your financial life and having good friends are for me the starting point to cure yourself, and also seeing a psychiatrist helps, but I wouldn't recommend going on hard antidepressants as they don't do much to get yourself out of your depressive situation.
For me, having communist China rise in the world stage made my outlook on the world's future much better, the Chinese don't share the western doomer culture of the world ending and are very optimistic of their future.
And in a personal level, getting to know myself more, building better relationships and earning some money did the trick.
I didn't even started doing sports or going to the gym, which can boost your recovery, if I did those things, I'd be much better off.
Taking ADHD medications also helped, as before I was unable to "do things" and being able to do things reduces my anxiety and depression greatly.