i'm pretty sure the bell housings are the same if you already have a diesel. So it should be swappable.
i did some research into this when i was seeing whether i could upgrade my manual transmission 5 speed 2.7 V6 transmission with the 6 speed diesel boxes. Unfortunately for me the bell housings are completely different. So it would not work in my case.