It's not an official rule, but it is the common interpretation, to the point of players relying on this in competitive matches.
Another change that makes it easier for goalkeepers to defend in soccer was calling offside when a player is in offside position and doesn't receive the ball, just obstructs the visibility or messes with defenders and somebody else (not in offside position) score thanks to that.
It's a little inconsistent and I don't like it, but it doesn't seem to help the defenders and goalies too much.
Despite the rule changes in soccer goalies seem to be losing the arms race - there's more and more goals a game and last few years the meta moved to very high pressing and constant offence. Which I very much like - makes for a more entertaining games.
As for hockey I would like them to split the goal into 2 halves and put them 1 meter apart :)
So it sucks to be a goalkeeper and I sympathise with anyone tasked with organising the defence when faced with this trend. But for us fans this is quite good news :-)
If you’re going to bring that up, we could talk about the hows and whys of the NBA not allowing goaltending.
Have you ever noticed that one player just can’t jump up and sit in the goal for the whole of the game?
It’s rather small, so the game then would be about who could remove the man from the area above the basket.
Perhaps we could just make the goalie have to stay away from the crease in the NHL and wear something similar to that which everyone else wears? (Unfortunately, there are a number of good reasons things are the way they are[1].)
[1]- https://hockeyanswered.com/what-is-the-purpose-of-the-goalie...