Not a good idea.
Irregular stool: which animal is irregular? Difficult to determine. Could also impact the cage mate in the event of a parasitic or bacterial issue.
Animal becomes sick: more likely to pass it on to the other animal(s).
Competition for enclosure resources: heat, security, light, shade, etc shuck can lead to stress and illness.
Incompatibility of cage mates: animals will stress one or the other or both of them which can lead to health complications.
Obviously breeding is an exception to this, but even then the animals must be closely monitored for all of the above reasons. With few exceptions such as winter brumation groups like garter snakes among others snakes are not a social animal in the traditional sense of the term.
Best that they live in their own quarters while in our care.
Sent from my iPhone using Tapatalk