Yes and wild and captivity are 2 different things, in captivity when placed in an enclosure they obviously have no choice and nowhere to go.I have observed various species in nature that share communes, for example termite mounds.
Housing multiple ball pythons together can lead, stress, going of feed, spreading of diseases, mites, premature breeding, injuries, the inability to tell if one of the individual is impacted, the inability to tell which individual regurgitated if one did.
Cannibalism has also been documented among same size ball pythons.
In other words there are more risks than benefits which is why the majority of Ball Pythons owners will not jeopardized their animals by housing them together.