Generally communal housing is not recommended. Ball pythons are not social animals and gain nothing except stress from being housed together.
That being said, it is possible to house them together successfully but there are still many things that can go wrong.
Cannibalism is not unheard of.