Because of their lack of experience, and dealing with hormonal changes, they are going to make mistakes and poor choices. However, rebellion only comes about if the parents or care takers are too rigid to cope.
When my grandson was 17, I cut off his computer access because he did not get his work done. He sneaked out his bedroom room window because he was mad and wanted to get away. When he returned, I told him, any time he thinks he can do better somewhere else, all he has to do is walk out the door. We had to pay someone to repair the screen, and I made him work it off.
Funny thing, his cat went out through the bedroom screen this weekend, and now he has to pay a repair man to come in and fix it. He has a job and pretty much pays his own way.