This already exists to some degree in the form of the HICP [0]. One of the categories in the index is food and they have a neat little tool where you can compare countries [1].
It doesn't cover every single product on shelves though, just a pre-selected set of products that's compared across all countries.
There's a myriad of datasets being collected and published by Eurostat.