No, usually, students need permission to leave the campus. There may be specific times or days when students can go out, and they may need to sign out or be accompanied by an adult, depending on the school's policy.