It seems to me that transaction fees represent the only usable, endogenous spam prevention mechanism.
You may be wrong, but I'm too lazy to look for those Bitcoin blocks mined several years ago, that contained thousands dust transactions. That miner got paid (50 BTC block subsidy) for spamming the network.