No, Germany imports massive amounts of fossil fuels. Renewables and electrification help reduce that. Electricity-wise Germany is a net exporter again
Its funny that the term "net exporter" is about the volume of energy, not the value of energy.
Electricity production is a subset of energy production. A lot of factories use natural gas directly, they don't produce electricity first. ICE cars also use petrol directly, they don't first generate electricity.