Gas and electricity are not entirely fungible, but Germany uses enough natural gas to produce electricity to cover the reduced imports.
It’s suicidal for the EU to give up gas short or mid term.
It’s possible to produce the required hydrogen using electricity and electrolysis, but not at a moments notice. You can’t just easily replace gas in electricity production by using nuclear- gas power plants are used for peak load, nuclear power plants for base load.
Although if greens in Germany were actually committed to reducing energy use they would have subsidized converting buildings from gas heat to using heat pumps instead of subsidizing solar production in Germany.
Heat pumps are subsidized in germany.
And if you want to blame the greens - they’ve been the most vocal party asking for energy independence, subsidizing energy efficient technologies and were very vocal against nord-stream 2. It’s just that they weren’t in power at all in the last decade.
The general thrust of your argument seems to be “nuclear power will not help shed Russian gas even a little bit” which seems ludicrous.
There are other niches where gas is used to produce electricity, for example we have a gas micro power plant that produces both electricity and heat for the apartment complexes on the local compound. This too, cannot be replaced by a nuclear plant.