There must be a viable market there. For example, pizza franchises have managed to eek out a profit from home delivery for years. Centralized delivery service should be able to find some extra efficiencies to make their business viable. The demand is certainly there.
Pizza costs $1.50 to make and charging $8-20 for it, you can eek out a great margin. It also transports well and can be easily reheated.
Regular restaurants have a lot thinner margins.