How can I use erpnext for restaurant

I want to manage restaurant.
Here I want to create recipe for menu item and maintain costing according to purchase and stock.
Suppose I’m selling Pasta, its ingredients are
a1, a2, a3, a4 all are raw material.
I want that manage stock of raw material as well as main pasta cost.
after that I can see a report where I can see how much plate pasta I have sold and how much I got profit at the end of the day.

Is it possible ??