Yes, and companies like TSMC and Intel probably have vast internal documentation about where and how their processes can improve yield as they run their newest fabs. The research required to implement a new process can take decades to get to the mass-production stage. Given the billion of dollars at stake and thousands of human-years of R&D needed, none of these companies are "winging it" and their scientists and engineers know how to plan ahead to the best of their considerable abilities.
For a glimpse at how they do things, see this fascinating talk: https://www.youtube.com/watch?v=NGFhc8R_uO4