Of course it happened and continues to happen. For example, I work for a company that completely got rid of our NYC office during Covid. About 50% of the company no longer lives in NYC...
Every major tech hub city has higher turn over than low cost cities, because they are expensive places to live. NYC is a perfect counter example, because it's THE example along with SF.