As already expressed by others this is probably not a simple, realistic option. Two problems immediately rear their ugly heads. Firstly, there's no output flange on the gearbox output shaft so there's nothing to bolt a prop shaft to. Secondly you'd lose the hand brake as that fits onto the back of the transfer box.
Nothing is impossible if you have the will and the money but as to practical, well ......
If you just want to make it rear wheel drive then simply remove the front prop shaft and stick it in diff lock ... unless your t/box is broken and that's why you posed the question in the first place :lol: