Yes, you can do it with the golden shovel. Here is the method:
The tree matures over a few days, and the payout depends on how much you buried — the commonly cited sweet spot is around 30,000 bells, since larger sums tend to produce a smaller return than you put in.
I have only ever managed to reach the planting stage myself, so I cannot vouch for the exact figures beyond that.