Yes, with an adaptor Filterbaby shower filters can be installed on ball-style shower arms. Ball-style shower arms are uncommon, but were produced by some brands in the 1970s and 1980s.
Please note that for in-line shower filters, your showerhead will need to be replaced with a standard showerhead for proper installation.