well it would be one thing to do that, but like all software...shake is a retarded genius. It works as well as its user can allow it too. meaning you can tell it to do something and it will do it, but if it doesnt like it, its game over. so all in all...
if it IS possible for this to work, would you really want it to? doing camera stabilization is a user defined operation because the computer doesnt know how to judge what is right and wrong without giving it an example of what is correct. if someone can give you an effective way to do this automation, you will only find it taking longer since you have to go back and correct all of your tracks.