When the pain is not severe, very probably, depending on the kind of music. There is music was born to comfort, like this well known in the Presbyterian church:
Severe pain needs drugs, in any way. But music can help for an happier attitude, even while taking drugs.
!PGM
@pousinha