You can install one, but it will probably not cure your problem. A shock arrestor has to be sized for the application, but it also has to be located at, or near, the point of shock.

: Can I install a Mini-Rester type ( but 3/4" size )device after the city water line to a 10-unit three story building ?? Water hammer problem is not at the point of use , dishwasher etc. Wher do I get one to install ?