The school has a rule that you must live in the dormitory of the school ... for your safety. ...
There is no way. I tried it before, but it didn't work.
The school won't care about your self-control. If you can't, you can't.
I suggest that you can ask your parents to give you a letter of guarantee stating that any problem with renting a house has nothing to do with the school.
Then try again at school. Some students have done this before, and it was successful, but a senior wanted to take the postgraduate entrance examination.
Freshman is good, you won't know until you try.
I wish you success!