Slightly different if you expect to be able to take it around a track.
The TLDR is production cars are "fused" at the factory to only work with firmware signed for production vehicles and devs can't produce these production builds themselves. There is facilities for live patching production cars but these systems are even more restrictive.
On the other hand... all bets are off in an engineering car. :P
I'm sure they can still overheat based on other limitations (coolant radiator, pipe size etc...) but these can be rights sized based on trim level.
Some turbocharged combustion engines also have something called overboost, allowing short periods of operation at higher power than the "continuous" limit (again due to heat build-up)
Stall torque = current, and there is no trick around that.