Food form wouldn’t work. I’m sure by restoring to its original state, they must ADD something to return the gum to its original mass. It’s not like the parts that you consumed are just going to suddenly appear as a part of the gum again. With food, the concept is similar to what I am going to say:
You eat food from a plate. You put the empty plate into the machine. The machine puts food onto the plate. You take out the plate. You eat.