Would be a big project, for sure. You'd have to upgrade the suspension, cooling, & replace the fuel system. Plus might need a tranny chage too.
Possible, yes. Practical, no. You'd be better off to buy a new truck with the engine you want. .
It is possible, but difficult. Lots of man hours, and you would need the whole Cummins truck for parts.
Not without replacing the suspension too. That engine is way too heavy.