Should we really be making it illegal for hospitals to pay hackers

Should we really be making it illegal for hospitals to pay hackers?