Q.How can I control the roots when planting an avocado tree in a tight location; is it possible?
I want to plant an avocado tree and not damage my foundations; how is it possible?

Certified GKH Gardening Expert
The only way that I could see this happening will be some kind of circular metal barrier being build down very deep into the ground. However, without being able to access roots to keep them pruned, this will only last for a few years before the tree likely fails.
It is best to keep them in container to root prune when they need it, or they will overcrowd themselves.
What you can do is to plant a pot into the ground level with the ground at the top, then put the tree in a pot inside this pot. This is called pot-in-pot production.
This document form the UT extension will give you a good run down on pot-in-pot production: http://www.tnstate.edu/faculty/ablalock/documents/Pot-N-Pot.pdf