AFCI protection

Is it OK to have 2 bedrooms wired to the same AFCI breaker?

When I checked the panel, this same breaker was making a little “humming” noise, nothing catchy, but there weren’t any lights on in either room (house unoccupied). The only thought I had was maybe the smokes are tied in here?

Thoughts?

Thanks,

Yes, so long as it is a single circuit.