I did literally every single one of those things you mentioned and was never even close to being kicked out. If you're parents feel you're deserving of being kicked out for your mistakes, fine, but do NOT internalize that you are unworthy and deserving because of them. Everything you've mentioned are just drops in the bucket, none of it is even a big deal. I'm assuming you live with conservative, uptight, most likely Christian parents?
The number one thing I can tell you as it will save you a lifetime of guilt, shame, and taking less than you deserve, is that you are NOT a fuckup for making the mistakes you have, and you are not deserving of losing you home and family because of them. It is not you in the wrong here for being kicked out, it is them. Family does not kick out, family loves, supports, and helps rehabilitation. Let me repeat that. FAMILY DOES NOT KICK OUT. Do not internalize that. This is more important than you most likely realize.
In addition, no matter the status of your relationship with your parents, no matter the anger, betrayal, resentment, or fear they may feel in this moment, I guarantee you that if they are letting you stay for 9-12 months until you graduate instead of kicking you out immediately, their minds can be changed. If you were really irreparable and too far gone in their eyes (you're not even near it) they would kick you out right now and leave it at that. At 17 you may not have the perspective that one gains as they grow older into parents and the way they think, but I can promise you, if they're letting you stay and supporting you until you graduate, they will let you stay and support you longer than graduation if you stop using, get a job, save money, and show them with your actions that you are committed to doing what's best for yourself. Not for them, but yourself. Words mean nothing, especially to parents that feel they and their child has failed. Actions, however, speak volumes.
It is obvious you have a heart of gold and the wisdom and self awareness to know what's best for you and what it takes to achieve that. Use the resources at your disposal, prepare for your future, and the seemingly impossible will present itself to you. You are not a fuck up, you do not deserve desertion for anything and from anybody, and you will achieve what it is you set out to do.