the answer you will get the most is no, cohabitation of snakes is a no no. there are many factors to support as to why you shouldn't. If you can put a divider into the tank so that each snake has its own area and cannot come in contact with the other, then, yes they can share the same tank. the reasons for not having two snakes in one tank are:
1-if one snake is sick, it can spread the disease to the other.
2-they will "fight' for the best spots in the tank. one will dominate the other.
3-snakes naturally are not social animals. they live solitary lives only coming together to mate. so housing them together is not benefiting them in any way.
if you do a search on cohabitation, you will find many threads that go into better detail as why this idea is not supported. Hope this helps you.![]()