Yes, it can be safe to keep snakes as pets as long as proper safety precautions are taken. It's important to choose a snake that is suitable for beginners and to educate yourself about their care requirements. Additionally, handling a pet snake with care, ensuring their enclosure is secure, and following good hygiene practices can help create a safe environment for both the snake and its owner.