They can be spayed (so I assume that males can also be neutered). Years ago I had a female rat snake that had an ectopic 'pregnancy' (eggs outside of where they
belonged & unable to pass them normally) and that went just fine...but she was an excellent vet experienced with exotics (snakes!).