My thoughts exactly? Why would any store ever want this? It's completely against their interests. They want to sell high priced/high margin items. They don't want customers shamed into spending less on bakery and alcohol and other non-essentials.
Likewise customers might feel alienated seeing how much data they're giving to the store and feeling bad for spending 20 percent of their meat budget on a rib eye.
If you want to follow this closely your food buying habits, get an app. I think it'd be weird to have this receipt. I mean I'd have to shred the thing before I'd even be comfortable throwing it away!