Unfortunately, there’s really not such a thing as that. Look at Charlie Sheen and Two and Half Men. It seemed like he was irreplaceable because he was the lead on the most watched sitcom and he was a part of the title, but if they can replace him, they can replace anyone on any tv show.
Not saying that will happen or not, but everyone is expendable in Hollywood.
2 1/2 is a different animal than OUAT but I understand what you’re saying. For the most part though, I think everyone on this cast gets along on and off set. Haven’t heard too many ego-related stories or cast in-fighting.