It is possible though to get paid a more reasonable rate in DK (which imo is good) and living in Denmark does not guarantee a huge pay cut / local companies don't suppress tech salaries into oblivion, even if the only saving grace is foreign offices.
But DKK 1.000.000 a year is not far off senior roles. (However, a lot of roles are also much lower).
You get some upside wrt work/life balance. But very limited flexibility in other ways. And culture-wise it's another can of worms.
Generally speaking it's better to work for foreign companies here.
Not too many options tbh, and you need a bit of luck, but there are some. It's hard to figure out from the job description so you usually need to do a bit of digging.
To keep in mind as well is that in Denmark the vast majority of jobs are not advertised. I know it happens everywhere but I never experienced anything that comes even close in other countries.
What used to be fairly popular is "consulting" at 2x+ salary. Almost zero risk due to high demand, this has changed somewhat.
People would just bring their friends in, or give them contracts as freelancers. In one instance the us office got involved and stopped it. I've been in a few "mock" interviews.
They call it trust in Denmark, I call it nepotism.