The market has already solved this in the form of ransomware groups. No need to have the government do it and issue a fine, ransomware groups literally are doing what you said.
I guess the government could legalize ransomware hacking to encourage it, but that'll never happen.