Do you already have Windows Azure Pack installed? Or just start to look at this area?
As Vitaliy's pointed out, it doesn't stand to reason for us to implement something for WAP at this time, since Azure Stack (that is supposed to replace WAP) would leverage different (less painful) framework that would require completely different approach.
However, there is nothing preventing you from creating SMA runbooks and use our PowerShell commandlets inside them. Those runbooks can be then associated to any user's action you want to.
I did something similar in my lab, so, I'm sure it should work. You can even go as far as Cloud Assert and create a cross platform integration solution
, using more or less similar approach.