You can do this with espaliered trees...