Not 100% confident in this. In a classroom you all face the same challenges (this bad teacher, the test being hard etc.) so it develops comradery, each other helps.
Yeah, there is also bad stuff, but it's an experience that I don't know if sports alone can deliver (the amount of time you spend together in school is way higher).
What you want them to experience bullying and all the dysfunction of large schools?