Can corn be planted in the greenhouse?

Corn can be planted in greenhouses, but no vegetables are of high value and should not be advocated. Planting sweet waxy corn has high commodity value. If there is no suitable vegetable planting, we can consider planting sweet waxy corn to maximize the planting efficiency.