They’re even used in “vertical farms” to grow herbs (other than cannabis) hydroponically indoors, exclusively in artificial light, with very little human intervention:
https://www.theguardian.com/business/2019/jun/10/ocado-inves...
Pick the sci-fi scenario of choice here, the tech exists and is economically viable, at least for high value crops that place a very high premium on freshness.