There is some users using with pro-tools, in simple words should be possible, pro-tools support MIDI in and out, so there is no reason why you not should build something useful. Start testing the MSU simple template, where you can use that template as a base for have a console controlling your protools setup and then discovering what you need and how can implement.