No, animals do not typically eat humans while they sleep. Most animals do not view humans as prey. Nocturnal predators hunt living humans, not sleeping ones, and most carnivores instinctively avoid humans. Rare exceptions exist but are highly unusual.
Wild animals should be treated with caution and respect.