The ancient Egyptians attempted domesticating lots of animals (including cheetahs and gazelles). Crocodile mummies are relatively common, and lizard mummies have been found; in the case of the crocodiles (and probably the lizards) these were most likely not pets, just sacred animals that were mummified due to their connection with various gods.