You can try to breed them, if you have a snake that isn't picky like a ball python. I know any snake besides my balls will eat whatever warm blooded creature in with them.
I would set them up just like ASF rats. Wheel, hides, things to chew and destroy with food and water just like for ASF's.
I don't know how well hamsters breed, but I have this idea from somewhere that they are cannibolistic, but I may just be thinking of mice.