The trouble is that if you require in-person work, you're already artificially limiting your talent pool by 1000x. You just can't risk adding on another 1000x limiter onto that.
Ultimately yes, you could HQ in Ponder, Texas and pay people 100K and say that's the same as san fran. But then you're gathering talent in Ponder, Texas. Good luck!
Probably not enough to entirely offset the fewer local workers, but it's not nothing.
Some companies do it (Walmart I believe) but most tech companies tend to base themselves in relatively large cities with other tech firms.
I remember a couple of years ago that people were saying Amazon had trouble hiring because even in tech-hubs they had run out of qualified people who would want to work for them.
Perhaps it is easily solvable: imagine a distributed network of office locations, such that each employee is able to work a reasonable distance from where I want to live. We could even hyperscale this concept, to the point where every employee has an office within their own home. I call it "edge officing."
Easily solvable by not locating your company HQ in overpriced trendy coastal cities. This is usually met with "but people WANT to live there!" If this was true, walking to work wouldn't be an issue.