1.: You need water - Fun fact. First "plants" on Earth started in atmosphere without any oxygen. But without water (Moon soil) you would be no go with even the most clever design ever.
2.: You need minerals - You can go away with microbes, but the plant needs to feed on something. That is how we grow most vegetables for mass production: Hydroponic planting in water enriched by all minerals what plant needs. So again, water only is not enough. Water with minerals could be a GO, but:
3.: You need stable environment. Although you could avoid a loads by clever DNA design of such plant, still, on Earth you have temperature range from -80 Celsius to +50 degree Celsius. I believe that on surface of Moon you can go more extreme ranges.
Long story short: It is engineering problem:
You need plant of a design which would keep its own micro-atmosphere (sphere like design, where plant would breathe inside such sphere)
You need a plant able to survive extreme temperatures both ways. Basically taiga wood mixed with desert cactus.
And, bonus, such plant should survive with as little water as possible (more cactus design than Siberian taiga wood)
In sci-fi setup of really developed DNA engineering, I think you could pass such idea on. But in reality I think you would crash on extreme setup of the environment.