People do pull that kind of weight with pickups once in a while... . maybe not quite 40k, but people use 'em for well beyond what they're rated for. Power is not the only thing that needs upgrading though. Our motor, stock, can pull that weight, and more... as shown by some commercial applications of the motor. But now you're talking heavier duty gears, transmission, driveshaft... etc. And that's just to keep from blowing things in your drivetrain up. If you want it to be safe, then you better be talking bigger brakes, heavier duty suspension, heavier duty steering setup, heavier rated tire/wheel combo, etc... .
This, I'm sure, is a point of debate. Most people will say you absolutely cannot upgrade a truck to tow more than what it is rated for. I tend to disagree, but I use that statement loosely. The weight rating comes from thousands of hours of lab controlled tests to measure not only the strength of each individual component, but the assembly as a whole. The motor is only one component of that whole assembly. When you start towing more than it's rated for, you will find the short comings very quickly. I absolutely gaurentee that this guy's transmission is toast if you do basically anything to the motor and then he hooks up that trailer. Once the transmission is built to the hills, he'll start eatting u-joints, slip joints, driveshafts, differentials, axel shafts... . Next he'll be on to suspension and frame weak links, steering issues, braking problems... With plenty of money, time, research, and access to state of the art shops that specialize in every aspect of the vehicle, he could build that truck to safely tow the weight (and with that I invite the bombarding of naysayers, I'm sure), but by the time he's over and done with it you'll note a few things:
A)He'll basically have a truck that only resembles his truck in appearance and no other way
B)He could have bought multiple heavier duty trucks for the money he spent
C)It's still not LEGALLY rated for what he's gonna be towing, and that you'll never change
D)The process will start all over again when he realizes he wants to be able to tow 50k once he's conquered 40k
For the cool factor of a first gen towing an earth mover, I guess he can build up his truck. But if he's just looking for some way to tow his trailer around... there are alternatives.