What's illegal about torturing data?
https://www.alllaw.com/articles/nolo/civil-litigation/defama...
Another term you might want to look up is "Dunning-Kruger."
I see no evidence that data fraud is "career ending" and the snark about dunning Kruger is fitting for your comment.
Typically however, climate 'scientists' abstract their fraud. They take raw data, fit it to their 'model', and then produce a conclusion. Sometimes they get over zealous, and manipulate the raw data, like the NOAA was caught doing.