i've seen a bunch of homemade flatbeds, even on smaller trucks, though most of them are not the best designed or built. the one thing you are going to be fighting is weight. you certainly don't want to overbuild it, or your truck's carrying capacity will be limited to a 50lb bag of potatoes.
i prefer channels to tubes, but only because of the salt and corrosion here. otherwise tubes are nicer to work with. for something like this, i would use nothing larger than a c3x4.1 for the rails, and probably c2x1x/18 or c2x1x3/16 for the crossmembers if you use a subframe over the truck frame. if you don't have a subframe you might want a couple of c3x4.1 crossmembers for strength and rigidity.
i've seen some hydraulic dumps for standard beds, and they just had a 1/4" plate that went under the bed to spread out the load, so you should be able to easily make a mount off the subframe or crossmembers that will be plenty strong. there should be some standard kits you could buy to adapt to your needs, or if you have the time and dedication, you could assemble your own. search ebay and the likes for "12v hydraulic" and you will see what you need to power a bed lift. you will also need a remote switch and a cylinder, so i would suggest searching for complete kits and then look at what is needed and see if there is a way to scavenge pieces cheaper.
one last thing to consider - check with your insurance company. a couple years ago i bought a ton dump that is for maintenance on my own property (not for hire). i found out that i couldn't group it with the rest of my vehicles - it needed a commercial policy because of the body. if it had been a standard ton dually with a regular body i could have insured it with the rest of my personal vehicles. i asked a few questions to make sure i understood the requirements, and it was because of the body and not the size/weight of the truck. any truck with a non-standard body was required to have a commercial policy. i checked with another insurance company, and they mirrored the claims of the first company. for what it's worth, the commercial policy was not really much more money than the regular one.
i know there are tons of older trucks with homemade bodies due to sheet metal rot, and i would bet that very few people have commercial policies. if you go to your insurance company and just tell them the year and make, i'm sure 99% of the agents wouldn't even ask about any modifications, so most people are probably flying blind. it may vary by company or by state, but i got the same story from two separate agents. i can't say whether an insurance company would deny a claim based on this, but the only way you would find out is after an accident happened.