Interesting idea, this way one could keep track of the balance between protein, carb and fat as well as the glycemic index and other values of the food supply.You could adjust the categories to those nutritional values and automation might actually give you insight into whether or not you are on a healthy diet or having shortages.
Might come in especcially handy for people with diabetes, adrenalism or similar dietary challenges.