If the game doesn't want you to grind and has some sort of measure to stop grinding, I'd accept if it was obvious that was happening, obvious I didn't have to grind to beat the boss, and I wasn't horribly punished for it. If the hunger system prevents me from getting into more battles, sure that can be fun. If the hunger system lowers my stats against the upcoming boss, then I get punished for going a little over and now I have to figure out the
exact number of battles I'm
allowed to fight, just to play the game.
I do like the idea, but I usually have seen other mechanics that stop it well enough, namely that the amount of xp needed to level up ends up being too high to want to grind since you can just beat the boss, get to the next area, and start getting xp at the reasonable rate.
On the note of a soft hunger system, the newest Fire Emblem (Echoes) has a fatigue system that can be cured with food. But the fatigue system is just there to make dungeons feel like long hauls without actually punishing the character for exploring every nook and cranny. Mind, I might only like it
because the effect is small and easy to play with and I can ignore it fairly easily.