There's a lot of discussion in Germany wether and under which circumstances it would be possible to prolong the runtime of the still workable nuclear power plants. Narrative so far has been mostly that it isn't technically possible on a whim, but recently read a report that the hurdles are mostly political, not technical. I'm of course no expert, so don't know what's true and what isn't, but it's being discussed at least.
One thing people forget with nuclear power plants though is that they don't solve Germany's gas reliance problem. It helps with power production of course, but there are many many households with gas heating, so a nuclear power plant won't heat those. On top of that, chemical industry is the second biggest branch in Germany, and BASF, the big player here, needs gas as an educt for their products, so that as well can't be easily replaced