Possibly, but this is very expensive.
I also remember when the Scottish government tried to support Scottish shipbuilding by contracting the construction of some ferries to the single local bidder, Ferguson Marine. https://en.wikipedia.org/wiki/Scottish_ferry_fiasco
Garden shed industry gets you garden shed solutions. See the previous discussion about Ukranian cheap drones with limited effectiveness. It takes globalization to build an iPhone, and the larger your defence consortium the more advanced a solution you can build.
It's probably not possible anymore. One problem in the US, and presumably the UK and other first-world countries, we've lost not only the ability to make things, but we've lost the ability to make things used to make things. For instance, we need machine shops that no longer exist (with machinists that no longer exist, with training programs that no longer exist) to make machines used to build more complicated parts. We've been outsourcing it to China because it was cheaper and now they have all that expertise (despite the shabbiness of some Chinese products, some of their products are absolutely not-at-all shabby).
We did this to ourselves and some people got very rich doing so and it's in their best interests that this remains the case. These same people may claim to want to bring this expertise back home, but really, they want to bring it back, but continue to make even bigger profits. Politicians cry about it on the evening news, but they just want to make campaign promises that will be thrown out as soon as a political donation is made. Workers want it, but without training by people who don't exist, its not possible.
We are screwed, we did it to ourselves, and there's no unscrewing it anymore.
The ferry fiasco (which I am impacted by), is the classic case of government overreach and too much bureaucracy.
In a war or pre-war scenario the fat would be trimmed and we would be come lean and mean, as there is no room for major failures.