Is it possible to automate coreldraw?

I have regular task to fill diplomas from excel file. I'm using "print merge" functionality. But is it possible to automate this clicking? For example make visual interface where I only paste way to excel and template cdr files and get complete diplomas? Is it possible to run print merge from the command line?