Yugoslavia didn't have centralized planning for products, one could even argue it had a meritocratic natural selection (sort of) and there still were shortages.
Maybe the EU as a whole could pull off being 'fully independent' but it would require way more collaboration between countries than what we currently have.