Mechanically, it might be relatively easy, since there are 4WD 06-12 Rav4's in wrecking yards where one could source a pair of RWD hubs & axles, plus the rear cargo area is empty.
I considered doing this with Model 3/Y drive units but I agree that the Rav4 is not special enough or useful enough...