The t5 would need more than a bell swap most likely. Add a matching input shaft then internal gears.
You'd likely be better off running a Chevy 5 speed 2wd transmission found behind the 2.8v6 or preferably the 4.3 as there are already 60 and 90 Chevy adapters.
Then there are the 2wd 22re/3.0 and 3.4 Toyota pickup/supra 5 speeds with readily available adapters. The Yota transmission would be the my choice out of these, aisin as
@oilhammer suggested.
All are small 5 speeds.
I realize you already have the transmission and it could POSSIBLY save you a custom or modified drive shaft but there's a good chance your transmission won't be able to stay in the same spot anyway.
The t5 wasn't known for reliability, the V8 swapped guys ate them up pretty quickly and eventually upgraded. I don't know how much power you plan on putting down on your mtdi