In Germany, while you can't camp with a tent in the wilderness, it's allowed to bivouac ("biwakieren", using a sleeping bag to sleep under the stars).
https://www.alpin.de/sicher-am-berg/30427/artikel_darauf_mue... (article is in German)
https://www.alpin.de/sicher-am-berg/30427/artikel_darauf_mue... (article is in German)