Scenario Question: Is it possible to get non-attack buildings (i.e. barracks) to shoot arrows?

Setting their attacks didn’t seem to work. If not, then is it possible for this option to be implemented in the future?

Design a new building.
Such like Malay docks and Harbors.