Of course there are. That's one of the three states of infants (asleep, hungry, soiled). It's one of the major causes of upset and bad behavior in toddlers. It's obviously the case for children who don't get enough to eat due to deprivation.
That doesn't mean my toddler wouldn't prefer ice cream over whatever is for dinner, though.
My son during teething was hungry a lot. He was absolutely unwilling to eat for hours till we found whichever thing he was going to tolerate each time (since he's stopped teething for now he's gotten a lot better about it, but you still have to offer food since he doesn't always recognise he is getting hungry).
You're forgetting the fourth state: too hot/too cold.
I only mention it because, as any parent knows, infants are effectively small finite state machines, and you can deal with their crying even half-awake, if you go through a mental checklist. But you'd better not miss a state to check :).
Or the fifth state, colic. It can last for months and the child will cry every waking hour. The binary flag is stuck 'on' which in my experience set every family member into a meltdown so you'll get no relief, because a baby that cries inconsolably for hours (months!) on end and can't be fixed is kryptonite to many people.
So yeah, good fucking luck if that happens. You'll have to feed on a schedule, change regularly and check even more regularly, guess appropriate temperature etc because the baby will be screaming bloody murder if awake no matter what.
That doesn't mean my toddler wouldn't prefer ice cream over whatever is for dinner, though.