This one is so simple, you'll want to kick yourself . . . or perhaps pat yourself on the back for how you modified this idea to fit your circumstances.
How many times have you just hated that your good old pickup truck wasn't able to dump its load? I know I have FOR SURE!!!
Well here is an easy way to convert your pickup into a real "dumper", at a fraction of the cost of doing it for real.
Here is the simplified version. If you need more details, just ask and I'll put up some drawings.
Build a very sturdy plywood "box" that has a bottom, both sides, and a back. It is going to roll on wheels so you need to either make it narrow enough to slide into the bed of your truck with the wheels sticking out from the sides, or raise the floor up high enough to hide the wheels underneath . . . your call. You will want sturdy wheels that are designed with ball bearings. They can be bolted to the outer portion of your frame, so full width axles are not necessary. I would recommend using at least four wheels on each side so that as the first set rolls off, your box will still be supported by the other three sets.
Whether your wheels are very small, or 6 to 8 inch diameter, you will want the box to sit as low to the bed as possible.
You could include a hinged front as well that would function just like your tail gate. A tarp to cover it and the means to fasten it quickly and easily is a must as well.
You simply slide your "box" into the back of your truck, fill it up, and then slide it out until it tips downward. At this time you should be able to either push the back up, or pull it up with ropes fastened to the top of the back.
If you are not able to park on a slight incline to help it roll off, and your load is heavy, you could either A. fasten your ropes to a fixed object on site and slowly drive off . . . or B. Place a subtle plywood ramp in your bed that slopes up about an inch or two from the tail gate to the cab.
The sturdier you build it, the heavier the loads it will handle . . . and as long as it is slightly sloped to the rear, the wheels should allow it to roll off quite easily.
Either way it should handle leaves with no problem . . . grass clippings, horse manure, compost, mulch . . . dirt? gravel? It's up to you!