I think it depends on what the goal is. Like, lots of countries (and probably a few US state) could, I bet, do their own foundries for, like, 22nm. Process node names are bullshit of course, but we’re talking about stuff that Intel was doing in 2012, Global Foundries in 2015.
22nm is already overkill for a lot of applications. But, like, if your country gets embargoed, you should be able to make computer chips for cars and farming equipment. Top end GPUs? Not necessary. Some basic RISC-V cpu for compute appliances? That should be a capability that everybody has.