Protool can do scripts, including advanced math. It is actually VBScript. You need an OP270 or better to have scripts.
But it is another question if it is a good idea to use scripts to achieve animations.
Anyhow, the problem is that there really is no "rotation" animation that you can attach a script to.
The closest you can get is to put X and Y coordinate positions. But that will only move an object around, not rotate it.
There is an "XGauge" ActiveX in Protool that displays an oldfashioned circular meter. Maybe that can be used.