They’re actually closer to omnivores with a biological preference for meat, but yeah, restricting the diet to just one or the other is awful.
Cats, though, are compulsive carnivores. They eat veggies sometimes, but it’s because they’re weird little guys (scientifically speaking)