In theory a large enough enclosure and a surplus of food would prevent this. I don't think you see them together in burrows (most of the time). To house two snakes you're going to need 10x the enclosure space which is why it's not recommended except for experienced keepers trying an experiment.