Cooking your own food can generally be more expensive then anything mass produced because efficiency is usually better in centralized setups, but this depends on the meal. Including the time it takes, you will never beat eg. a bakery for more cost efficient bread.