Sure it’s possible, the question is .. is it profitable ?
if you have a clear vision of what problem you want to solve and what service you want to offer it can all be done.
Yes, to get moving with a simple menu a shopify partner or expert can have you up in running in an afternoon, or even by yourself in a day or two if you focus and go through the docs efficiently.
However there is a long list of restaurant specific things to consider , setup , configure, or customize and some needing apps.
Here's an example that takes less than an hour so to put up, it's super ultra bare: