Minority/Majority Scholarly Opinions And Ijma
In principle, yes, however, there had never been consensus on the prohibition of music or on beard to be part of Deen even within a school of thought. There is a long list of scholars who listed what makes music haram, otherwise, it is halal. You can find the Fatawas of the classic scholars in the book Islam and Musiqi, By Mawlana Jafar Phulwari. in brief you can find the relevant detail here https://www.aikrozan.com/islam-music/ With the passage of time, certain individual opinions or inclinations prevailed and gave the impression of Ijma. Music had been practiced in Arabian society and no one including the prophet banned it. Another example is of prohibition of women from coming to mosques and to Eid prayers on which there is “Ijma” but it has not a directive of Deen at all.