I completely agree with Joojaa!
But if you HAVE to, you can always, in the script, do the playblast, open up a floating pane, create a camera, create an image plane showing the playblast image sequence, store evaluation and display settings, set evaluate nodes to none and turn off display visibility of all nodes except cameras and change playback settings to update active view pane only, create a floating window with a "revert back to original settings" button and start playback, hehe..
Silly answer, but it IS a POSSIBILITY (even though a completely whacky one). So if your question is simply 'is it possible', then the answer is definately 'YES'.