Can a dirty cat litter box kept in a child's bedroom be harmful to the child?

No, it can't but if the child is little i wouldn't leave the litter box in there. If the child eats the litter is can be veary harmful. But I would clean it though.