This may be technically true at the moment, but the underlying reason for the high prices is fossil fuels: when renewable generation is low, natural gas peaker plants are generating, and these have the highest cost of any generation source, and by the merit order rules under which commodity markets such as electricity operate, the highest source price sets the price of the commodity.
The obvious and affordable mitigation for high prices is to build out massive battery storage capacities so that natural gas plants are needed far less often.
https://modoenergy.com/research/en/germany-battery-buildout-...
Interconnected nations all importing when cheap electricity is available lowers costs for everyone.
Looking up the numbers Germany sells high and buys low when it's net importing
Edit: But to be fair... The biggest reason it's expensive is likely that companies like to make money.