I'd do that if it was the right truck AND I verified I was happy with what I was getting repair wise.
Dunno if it's that easy to upgrade turbo for the better E brake though, or even to a new model engine. Someone more knowledgeable can speak to that. Hit up a Pstroke forum and get their 2 cents too.
Either way, imo, the truck isn't worth a penny more, actually less because it is a problem vehicle, than a comparable clean truck. Heck, the engine is supposed to outlast the truck. Half the reason for getting a diesel.....