The result is you open the freeze a few times, wishing there was ice cream. When there's only frozen chicken, you close the freezer, drink some water, pace around, then get back to whatever you were previously doing.
Joke aside, you can only do that if you are alone. I agree in principle, but in a family setting you need to find other changes to routine that result in less food being eaten by you.
A.I could potentially suggest restaurant orders, grocery lists, and recipes. If I had confidence that the system had my best interets "at heart" and it had enough expert knowledge built in I'd probably let it make 95% of my diet choices and count myself lucky to make one less type of decision while improving my health.
Its a terrible user experience.
My idea isn't ready yet, but I'm furiously working on the MVP.
I'm not just saying this as some rando internet know-it-all, I lost half my body weight calorie counting.
You'll get a lot of different opinions.