That's a potential solution to spam (though probably not a very effective one). But it's not a solution to targeted abuse about someone. Not all of the problems in an unmoderated space are about when you are name checked by an abusive user.
Nor does your solution deal with things such as child sexual abuse material, which is illegal.
