Stuff like this already exists (AFAIK not open source but cheap enough that restaurants would prefer to use it if they could). The problem is modifying user behaviour: people used to go directly to the restaurant to order food but are now very used to opening the food delivery app, browsing it, and ordering.
You could have the slickest ordering experience in the world and it won’t help you if no one sees it.s
You could have the slickest ordering experience in the world and it won’t help you if no one sees it.s