I am from Canada, so our system differs a bit. I have been since psy since the age of 18th. I have had too many dépressions to count, and chronic anxiety plus panick attacks around the age of 27 years old when I spoke out about the sexual abuse I had with my father.
After that everything came crashing down. I decided to work contract as I never was certain if I could handle a day to day permanent employment. If the contract was for 3 months I could give myself a push but with a lot of missing days. My other way than meds to relieve the stress was wine on the weekend then it progressed to 2 to 3 times a week plus the weekend.
I was struggling and I often took 2 weeks to a month of a break in between contracts to reenergize myself.
So as said in previous threads I had a medical tract record since the age 18 and it is only around 2008 that I took a permanent job in the gov. and sadly lasted 5 months and one has to complete the first 12 months to become permanent. I was depressed, lived so much anxiety that I had a burnout then went on a sick leave. In August 2010 I went back to work in another section but lasted 6 months. Ended up on social assistance when I ran out of umemployment benefits. It took me 4 long years on social assistance with disability to get on the government disability.
So yes it is possible when I applied it took 6 months but needed to show all the therapy I had taken, all my doctors, psychiatrist, psychologist till one psychiatrist and my psychologist agreed that I could not work anymore.
Good luck to you.
Sylvie