Allow players to eat food even with full hunger bar

Is it possible to do something like this via a datapack? How would you approach it?

Continue to help post