In the US and other places with Euclidean zoning, that's illegal. Restaurants have to be kept far apart from residences. It's better in such places for all the restaurants to go out of business, and people can just stay at home and cook microwave meals.