Individually some restaurants did hire their own delivery workers. I distinctly remember this being more common in larger cities with Chinese restaurants for some reason being most prominent, maybe because takeout led to packaging food in easily transportable containers, so an intuitive evolution seems probable, though the practice dates back at least a century in India.