You could and I've tried keeping live one's in pots but it's hard to hide the pots as the snakes are always digging them up, knocking them over, trampling the heck out of them, etc. Still a major pain in the...

But anyway, I just wash them in hot water with a dab of hand dishwashing liquid, then a good rinse.