Yes. It’s a bit more work and you will have to buy a few more parts like an intercooler, exhaust, & possibly a diesel radiator.  For automatic transmissions, an OEM diesel torque converter plus you'll also have to get rid of your in-tank fuel pumps.