Not sure about India but delivery in China has everything to do with loopholes.
No health care and social security for most, and for the few who have the company artificially fake income for tax evasion.
Working conditions are the usual 12~14 hours a day with 2~4 days off a month.
The electric bike they are riding are dangerously over-limits and categorizes as motorcycles, which are actually banned in most big cities. Of the few that allow it, Shanghai for example, you need to pay ~$70k for registration alone.
In the US the situation is better but not free from problems, for example the first job for a lot of the illegal immigrants who can not speak English is package sorting with similar working schedule, but at least it pays good enough.
Yes, home delivery is a luxury, and it 'does not work' in India - it's only evidence of an utterly broken system.
It's a sign of radical inefficiency and economic failure that labour is being used for those kinds of things because it's extremely unproductive.
"It has nothing to do with loopholes on anything. "
--> it's entirely about 'loopholes' <---
Food delivery is not 'efficient' in India - it's the least efficient process imaginable - that can only work because 'loopholes' - marginal cost of labour is cheap aka no rights, no standards, high unemployment, low wages, externalizations and corruption, sketchy taxation, safety, social insurance, healthcare, emissions, food safety etc.
The only place in the world where 'Food Delivery Works' - is for rich people in First World countries.
That is the only scenario in which labour, rights, wages, taxation, non-corruption safety etc. are all met and the 'comparative value' (aka price) still works out.
That's it - the top 10% in the Denmark etc. can have their food delivered in a way that is 'economically efficient' (maybe >10% for some things) - aka those are the only people 'willing to pay a true fair market price when all of the externalizations are built into the model'.
We're making some progress with automation, probably China are leaders there but it's still not closed to automated and won't be because the marginal cost of labour is still low.
What actually works is delivery of multiple orders to a semi-central location for last-mile pick-up by the customers. In a sense, this is what restaurants and grocery stores are. But to retain the variety, readiness, etc. of delivery, obviously some new solution must come around.
For the person getting the item, it is [extremely] productive.