There are a number of apps and web sites that do what you ask. My favorite one (from the old iPhone days, now discontinued) would let you input the ingredients you have on hand, and it would suggest what you can make with them.
They seem to come and go. I think the problem for a supermarket to adopt something like this is that you can use it to make a list using one market's superior app, then do your actual shopping at another market.
> you can use it to make a list using one market's superior app, then do your actual shopping at another market
This critique makes no sense to me. Should amazon not recommend items online because you might purchase them from alibaba or walmart instead?
Whichever markets choose to make such a system would surely do so with the assumption that they are the best choice, and they will recommend their items. I doubt many consumers would go through the friction of comparison-shopping a whole list to find other things that are suitable substitutes.
Your comment to me seems akin to the silly statement "shoe stores should not display their wares in the window because consumers then might go buy them at other shoe shops for cheaper"
They seem to come and go. I think the problem for a supermarket to adopt something like this is that you can use it to make a list using one market's superior app, then do your actual shopping at another market.