SEO only exists because search engines are user-hostile garbage.
Imagine being able to blacklist domains from your results. That would basically solve the problem, because the first time you encounter spammy garbage you'd simply nuke it forever.
You could even have pre-made open source lists. Basically ublock origin for SEO crap.
In a very real sense, it only happens because it's being allowed to happen.