Oh yeah. Luckily I have a career that I basically have total control over. When I can work, I work, and when I can't, I try to focus on what I need to do to get back to that point.
Disability can be rough for a psych reason. They will reject the first claim - they reject all first claims. Keep track of all your interventions, doctor visits, etc, and reapply. Expect it to take a while - a long while - but as stressful as it is, it's worth it. The crazy thing is, if you get it, if you get the validation that you really are as low as you feel you are, it might be enough of a boost to let you start working again.