Would it be possible to write a AutoCAD batch scripting extension?

Would it be possible to write a AutoCAD batch scripting extension using the PW SDK?

The extension could either be in ProjectWise or AutoCAD. I am thinking a similar mechanism as Microstation batch scripting utility.

The user would pick a script and files to run it on, then the extension would start autocad on first file, run the script, close autocad, open the next file, run the script, ...

and yes i need to be using AutoCAD with Projectwise.