It is generally okay to sleep with your cat, as long as both you and your cat are comfortable with it. It is important to make sure that your cat's nails are trimmed and they are not too active while you are sleeping, as they could accidentally scratch you. Additionally, it is best to keep your cat off of your face and head to avoid any potential health risks.