Yes, it is generally safe to keep pet snakes as long as you are knowledgeable about their care requirements, handle them properly, and ensure they are kept in a secure enclosure. It is important to research the specific species of snake you are interested in keeping to understand their behavior, diet, and habitat needs. It is also advised to handle them with care and caution to prevent any potential risks of bites or injuries. Overall, with proper research and responsible care, keeping pet snakes can be a rewarding experience.