Does a greenhouse need to be built on agricultural land?
Greenhouses can be built anywhere, so long as the plants within them are provided with sufficient nutrients and light. Depending on the crop, soil is not required if hydroponic methods are used.

The use of agricultural lands is not a requirement. In urban areas, disused warehouses and other buildings are used to establish vertical farms. Greenhouses are even placed on roofs of buildings.