This factory building was abandoned. Is it illegal to grow fruit trees?

Not illegal.

Different fruit trees have different requirements for environmental conditions. Generally, as long as the temperature and soil are suitable, the watering conditions are similar. However, it is illegal to build an 800-square-meter factory building at the top and around, and use a lot of iron sheets to shield the wind and rain.