You know what. Just heal yourself and go ahead and do year 9. In the overall scheme of things, high school is fleeting and doesn’t matter. Also you can ace your classes. It doesn’t matter. What does matter is healing, and it takes over all five years to heal your brain from a drug addiction. Go with the flow, and be kind to yourself . It’ll be alright. Just so you know, I was a homeless junkie too, and now I’m not.