If you factor in wastage and the expensive supply chain logistics for things that spoil quickly it's probably cheaper to grow them closer to the point of use, especially if you can keep down labor costs with automation.
Tastier and more nutritious too.