One actually has to have a military that can fight to do what you desire. Germany no longer has that.
Aside from their much-unreported moves to assimilate the militaries of other EU nations under Bundeswehr command, they’re still the fourth-largest arms exporter in the world. All it would take is a strong leader to do that. And they still have antipathy towards the USA, as does the EU in general.