* If the delivery fee doesn't cover delivery, then charge a higher delivery fee.*
Why doesn't that reasoning apply to restaurants? If the fees cut into their profits too much, then they need to raise prices.
There is no free lunch here (ha!). The customer is always going to be paying for both the food and the delivery. There's no benefit in micromanaging the internal transactions.