It's certainly a strategy, one that isn't reliable in the long run though. See: Henrik Lundqvist, Roberto Luongo, and Carey Price's entire careers. Fantastic goalies (well, price less so tbh), aren't enough to carry mediocre teams to victory. Even the monster that is Hasek had to go to Detroit to get his cup, despite being utterly dominant with the Sabres.
I'll take the opposite strategy of a dope team with an average goalie every time, if given the choice. Chicago winning with Antti Niemi as an example. Best thing though is to just have a good team and a good goalie, Kings, Lightning, etc. I think because of the cap it's impossible to be strong at all three positions without squeezing in star players on ELCs though, so I just assume there's always a tradeoff.
Maybe it's just me, but I also don't think there are that many great goalies in the NHL in general, they just seem really difficult to find. It's basically Vasilevsky, Helleybuck, Shesterkin, Saaros, maaaybe Gibson if he gets a better team in front of him? Consistency among goalies is basically non existent outside of a few super elite guys. MAF has gone from cup winning to backup to carrying his team to the finals over the course of his career, goalies are just too random to rely on outside of rare elite guys. Shesterkin and Saaros don't even have a track record long enough to say for sure if they're truly elite and can keep it up over a few seasons, I'm just hoping for the best because goalie talent in the NHL isn't very good.