You can do it as a houseplant. Fruit in the market is from grafted trees, so what you'll be growing is just a beautiful house plant. The leaves are gorgeous.

http://www.avocado.org/about/growing-avocado