Sleeping under a blanket is generally safe for cats, as long as they have a way to escape if they start to feel too warm.