It’s been tried. Laws against paying just make people not report to the police at all.
Reporting the murder will see the community punish the family for not protecting the person better.
One of these is more universally repulsive than the other. Were it illegal, I'm not sure I could be bothered to blow a whistle on a company paying a cyberransom. That's obviously different for murder.