Do you get the core concept of vertical farming? It’s just stacked layers of farmland. Greenhouses cannot pack as many layers vertically. It’s pretty straight-forward.
If you’re strictly optimizing for just sunlight then sure, greenhouses sound fine. But there’s more factors at play here - like the cost and availability of land now and into the future.