wood shape would work if the tree were small enough - see also living wood, which can be crafted into object, used as walls in strongholds, etc..
polymorph should certainly be able to shape a tree as desired.
if you can control a tree converted to a treant temporarily, then you can have it...