This would be a cool feature. I'd actually like to see something with broader application: an "Eating Script"/"Drinking Script"/"Spleening Script" available in the Automation section of Preferences, that would be triggered before any consumption, much like Pre-Adventure is triggered before each adventure.
That would allow the user to custom-configure protection against eating sliders without any empty stomach space, but also against eating without the TT Barrel Shrine buff, drinking without the AT Barrel Shrine buff, etc. Those two have bitten me frequently in the past - I'm sure there are tons more use-cases out there that aren't springing to mind at the moment.