It's fine because the bettas there aren't really adults yet, they are more like teenagers. When they get older, they get more aggressive.
But of course, there are special cases. I recall reading somewhere in this forum that a fishkeeper kept over 30 bettas in a tank together, and had little fights because they grew up together. Something along those lines anyways.