Yes, a great analogy. And actually most of the time the food we cook at home is better than what we can get in restaurants. Sadly. Cooking decent food at home takes time, it should have been a restaurant job, but the reality is what it is...
Learn a few dishes well, soon you are cooking them at home much faster than it would take to wait for them at any restaurant, including all cleanup and dishes.
Bonus: Cheaper, much higher quality, much better taste, and most importantly: you can drink as much as you want without getting kicked out.