No u cant mate it... the mr2 gearbox's driveshaft input (or whatever they call it) may not match your 171 d/shaft's inner ends ( the inner ends are the end that goes into the gearbox while the outers are what goes into the knuckle). Its a no match in terms of the 'gigi' count/or perhaps size.
The only solution is u can swap that inner ends to match, or custom made them. If u plan to swap, leave the outer ends alone since its already match to ur knuckle. Inner ends that may fit; of course from mr2 d/shaft, supercharger MK1, well thats all i can think off. But note that u may need to custom made the 'batang' also if its not in the right length.
Unless you have celica, be it 182/183 or 185, if you plan to use MR2 g/b, you can directly swap the inner ends between the MR2 and GT4 driveshafts, since the GT4 d/shaft batang is already in the right length and the outer ends already fit ur knuckle.
But in the end, u still have to find and buy a pair of those MR2 d/shaft, unless u plan to custom made them to fit. (so figure out which option cost more). So if ure planning to buy the E153 g/b, make sure to bundle it up with the shafts.