Stock Management for Restaurant – WordPress Development Stack Exchange

I wanted to ask, is it possible to have a more complex management solution in WooCommerce? Let’s say I have a restaurant where I sell pizza, when an order for Pizza comes, the components from which that pizza is made are automatically deducted from management, for example: salami, mozzarella, etc.

And after that I can make reports on stocks