I'm sure the tech would be circumventable, it's the legal issues that could have consequences of their own - the USA companies that supply the parts & we pledged to buy 500 years of exclusive support (services & parts) from ... have control of the USA military, it's not just a matter of going to court.
Not even USA gov can get out of those same dodgy contacts.
Still, it's def an option that we need to have for all important infrastructure bits, military unfortunately included (but communication tech, power grid controls, personal computers & servers, manufacturing of crucial parts, etc are important too).