Hello
Sorry, I do not have a straight answer but instead a question :O
If you manage to automate the Set Default annotated view you take the risk that the life cycle state can be wrong.
If the view was created before a change state this will be the case. Your annotated view is not automatically republish and if so, are the annotation kept ?
I would test this before making the change.
I see a potential risk there.
Best regards