Hello Sadness, I am so very sorry to hear all you've been through. Your instinct is right to want some independence. Under the circumstances you have described, it would seem beneficial for you, too.
I'm not at all sure I have any wise advice how you can fix your living situation while in school. However, I want to let you know that you and your future are valuable and important! That your life is not hopeless, and you can experience joy! It may take some time, and you may have to work closely with your mental health professionals, but there is no shame in that.
Please take good care of yourself, know that it can get better!