is it possible? and what size tank?
Yes, but if it's a male/female pair, expect little baby sand boas at one time or another.
Tank size should be 20 gal for two males, and 30-40 gal for male/female pair.
I wouldnt do that they might fight/kill each other