I am lucky enough to live on a property that has a small, walled orchard around 65 feet by 33 feet in size. In truth, this was one of the main features which encouraged us to buy the property. The stone walls of this walled garden protected a collection of fruit trees (apple, plum, and cherry). Since we moved into the property, I have worked on turning this area into a more abundant forest garden.
Not everyone has an existing walled garden to work with. However, there may sometimes be an argument to create one on your property.