For years (maybe 12 years or so) my parrots all had smaller second cages in the guest room where we put them to bed each night. I guess I read somewhere that was a good idea. And it worked well -- gave them a safe smaller space to sleep cozy in.
Eventually I guess I got tired of it or something (I forget why); so now my CAG sleeps in his regular cage in the living room. I mean, as long as you give them a darkened room at night (I always leave a floor lamp light on (25 watt bulb) in case of night fright so they can re-orient), and provide some quiet time for good sleep. If a parrot is in a lighted room at night (and maybe uncovered to boot) where a television or radio is constantly on, I think that could disturb them and keep them awake. They deserve at least 10 hours of undisturbed sleep a night, imo. That said, sometimes I've seen my CAG take a nap during bright daylight with noise -- so they can adapt and sleep in less than ideal conditions, it's just not recommended. My CAG tucks his little head under his wing when he's tired and I keep the main light off and noise levels low in the evening, he sleeps just fine.