Yes.
Trees can easily survive when planted in front of or behind the house.
Regarding plant growth issues: Planting trees and other green plants can test the feng shui of your house. In areas where the dragon energy is strong, trees and plants are flourishing and their branches are luxuriant. In front of and behind the house, especially the non-human-made plants that grow more and more as they are cut, special attention should be paid to them. Plants are naturally very selective and will not grow randomly, especially tall and long-lived plants. Especially tall and long-lived plants require special vitality to survive. Health is always a manifestation of strong yang energy. It takes ten years to grow trees and a hundred years to cultivate people, and it takes a hundred years to cultivate a great person. As long as your family is prosperous and your office is comfortable, don’t ask about the feng shui of the trees, what kind of plants or tree species they grow, let alone where they grow. Trees that grow vigorously must be carefully protected and strictly prevented from harm.