Currently, it is not possible to prohibit creation or automate the deletion of the contact and associated company, after a conversation is marked as spam.
I’ve tried to trigger a deletion of contacts and companies through a custom property called “spam” which helps with the contact deletion. But for companies, there is no automated way to do so.
It would save us a lot of time and work.