Possiblely. Just depends how bad he damaged the truck. If nothing got into the engine, than you'll be fine. To be safe, I would replace it just in case if something goes bad when your going down the road. Inspect the transmission, clutch, flywheel, and anything else that doesn't look right or bent. If it don't look right, you might as well fix it. Was the front end rebuilt? If not, it wouldn't be bad to do that. Check your front and rear axle. See if the gears need to be replaced. Or it wouldn't be bad to upgrade them either. See if the drive shaft is bent or check your U-joints.
I know some of these don't include the engine, but my friend was recently in a wreck and I helped him fix it up. That was most of the stuff that was broken when he rolled it. It's good to inspect it thoroughly and fix some of that stuff. It could save your life.