Whether your PhD fuels your depression and becomes incredibly difficult or it's awesome largely depends on your supervisor.
It is relatively easy to spot supervisors that are simply rent seekers vs real researchers.
The former will typically have an enormous amount of students and will publish an impossible amount of publications per year.
If you need more tailored advice, you can find my email in my profile. I would not discard the PhD option just because of your current health status. In fact, a good PhD may leave you ample freedom, and that might be good to work on your issues.