Okay, I've noticed that this seems to work more with triangle fruit trees. I don't know if it works for everyone, but I did it one time with Sonic:
So, basically you have to keep jumping on top of a full-grown tree. If you do it just right, you'll fall into the tree and onto an invisible platform in the tree. o.O