Again it's not JUST the poop, obviously there's always going to be hygiene problems, including like disease risks.
But ALONG with dried poo inhalation,
repeated exposure to bird allergens, feather dust, dander etc. can give you bird fancier's lung... which can cause long term and irreversible damage to your lungs.
It's been my personal decision that I'd never house any bird, even my budgies, in my sleeping space since basically I learnt about all this stuff. Many people do but that's 8+ hours, EVERY NIGHT, of uninterrupted exposure to all that stuff