It's the electric lights. They screw with our circadian rhythms, so being away from them is good for a reset. Then there is the always-on hyperstimulation of being connected to everything, but isolated from everyone, 24-7.
I don't know about anything targeted towards insomnia or poor sleep, but there are more than a few rustic retreat centers that are away from urban areas. Sometimes they have different programs, e.g., yoga, silent meditation, deep dive on certain techniques, etc. The one I frequent has electric lights and a hotel-style lodge if you don't want to rough it, but they also have tents and cabins that are away from the dining areas and you don't have to see electric lights if you don't turn them on. The cost is still a factor - it's not so much for the program tuition, and you can even do a solo retreat that is self-directed. In either case, you have to pay to get yourself up there, and then there is lodging/food expense on the land. The least expensive week-long retreat I have managed was just under $1400 - which is less expensive than a standard vacation stay at $200/day for one person.