Yes, it is safe to keep pet rats as long as you provide them with proper care, a suitable habitat, and regular veterinary check-ups. Rats can make wonderful pets as they are intelligent, social, and can form strong bonds with their human owners. Just make sure to research their care requirements and provide a clean and enriching environment for them.