I believe the inverter, gears, transmission are all part of the tesla large drive unit (LDU). So I don't believe there would be an issue with those parts. However the increased demand of the boosted acceleration would for sure stress the other components of the system. But in my experience...
I was watching Aging wheels channel on YouTube.
The host is putting 2 tesla motors in a ford escape. He said that those tesla drive trains are the same model as the one Rav4 EV. Apparently you need to swap the inverter control board with this...