No, it's not remotely viable because something always has to come from somewhere. The US, or any particular place on Earth, does not have every necessary resource available. Or might only have poor quality/purity resources available.
So even if you were to somehow move every manufacturing pipeline into a single country, that country still relies on getting lithium from other countries where it's abundant, or magnesium, or titanium, or sulphur, or cobalt, or gold, or platinum, or perhaps even just decent steal.
And since you're getting those resources from other countries, it's far more logistically viable to process those resources in the countries where they're mined.
And since those country are already processing the resources, it'll also be logistically way better if they can process them into basic components too.