There used to be legal backing but judges have gone crazy these days. Just look at what they have done to the NCAA.
My dad was on the executive council through out the 80"s and he said anytime they had a court case what ever judge got the case almost always threw it out. Said the MHSAA was a membership organization, that schools chose to become a member, and they had guidelines and bylaws approved by the organization that were binding.