The trans will bolt up.
To make it work electronically would be very difficult. The wiring is different between the two. So you would likely have to swap the loom , and trans controller (which might be in the ecu? Not sure, don't care!) All rb trans bolt on to any rb. Bolting on is the easy bit.