A way to stop hunger/life loss?

You could try messing with Foxguard

Either set a flag for invincibility or try seeing if the buff flag can do hunger.