Interesting idea.
My first thought was no, I do not think it would be possible.
But if you could find the commands from the drivers that normally run these things then why not??

I bet it will not be easy....