This is what they do in places like Japan and it's always been regarded as a major reason why their version of the pandemic has been far less severe. With their population age you'd expect them to be the worst in the world but it's quite the opposite until recent spikes with Omicron.
I suppose the difference is here we wear masks because we think it protects us (which it doesn't) and in Japan they wear masks to protect others (which it does).
With regards to Japan. I read one paper the other month that was suggesting there may actually be a genetic advantage over there against Covid. I think a lot of research will be done with regards to how well Japan handled it.
Mask compliance will be a big factor I agree.