Why do you think so? If you consequently delete their content or set everything to pre-moderation, then you can.
Spammers do not spam to just annoy you. That is not their goal. If their content is not seen or just for a short period of time, they will stop. As this will not make sense for them. They have to be “efficient” too.
You just have to be a little more persistent as them. 😉