But there are many other battery powered things like UPSes in an office, teslas, roombas, or Dyson vacuums that wouldn’t necessarily make sense to charge in your bedroom but tend to stay connected to a charger when not in use.
As long as you have a proper smoke alarm system and maintain it, why would it be? I have multiple exits upstairs, all bedrooms have a chain ladder, alarms go off all over the house.