Certified GKH Gardening Expert
Yes, this can be done. You will want to get used to root pruning every three years or so. Since it will need a little extra care in container. This will include pruning thicker anchor roots, while leaving feeder roots. This will keep it happy in container, and keep it from getting rootbound over time.
Keeping in such a small container will only yield a 2 or 3 foot tall tree, though. You may not get the tall tree that you desire from such a small container. It can still survive in these conditions, though.