Probably religion much more than honor code. A lot of these kids have been training like pros for several years and they get their 8 to 10 hours of sleep, go to bed early, don't party, workout all the time, don't hang out much....
Still, if sexually active, it would seem foolish to attend BYU.