I've done this twice. The first time in Morocco where most of my group opted to sleep inside a tradition tent. I slept outside and was the only one to see the sunrise over the Sahara desert, magical!!
The last time was when I cycled across the USA and to avoid the crossing the Mohave desert in the heat, I pedalled out at dusk. I made it to Forty-Nine Palms as the sun rose. Another fantastic experience