Yes. Music publishing goes back as far as the invention of the printing press.
Before popular music was recorded for public consumption, the sheet music was sold.
The heyday of public publishing pre-audio recording would likely be the Tin Pan Alley publishers of New York City churning out sheet music from roughly 1880 to the 1930s when phonographs and radios took over.