Yes, it is generally safe to keep pet snakes as long as you are well-informed about their care requirements, handling techniques, and safety precautions. It is important to choose a snake species that is suitable for beginners and to provide them with a proper enclosure, heating, and diet. Additionally, always wash your hands after handling a snake to prevent the spread of any potential germs or bacteria.