I would say yes. But only if you have a vector control drive and if you have a true torque limit.
The torque loop is always closest to the motor (inside the speed loop) in modern vector drives. External torque limiters that act on the speed loop output (like those you could see in some DC servos te nor twenty years ago) do not exist today. And if they do, they shouldn't.
So, if you use AB, ABB, Danaher, Siemens, Schneider etc and there is a paramater called "max torque" or "torque limit" or similar wording, you can trust that the set limit will be kept under all circumstances. A hardware failure that produces a higher torque has yet to be "invented". In DC drives, almost all hardware failures seemed to be able to produce excessive torque. Not so in AC vector drives.