They are, but that is the wrong way to go about it.
The EU as a whole have to be able to militarily stand alone as early as the end of 2024, without NATO. Strong contingents from Poland, France, Greece, Sweden, Finland and the rest are going to be parts of that obviously but there really has to be a realistic unified force by that stage, one that can't be split up by national (political, really) interests and one where every constituent state plays a proper role (as opposed to letting "their" military rust, cut back on spending etc). That means much closer defence partnership, rebuilding defence industrial capacity and all the rest.