If it's truly a nefarious entity that's using Ordinals as an attack vector, then that entity will provide tools and apps for newbies to make it easier to send their Ordinals transactions to a miner.
We always make spam harder not impossible. Every single standard rule can be broken if you contact a miner. But mining pools aren't the most willing to become pariahs in the Bitcoin community by explicitly accepting something that is being rejected by majority of the network as non-standard (assuming it gets implemented for Ordinals Attack!) which means we make it "harder" to spam.
Ser, what makes everything in the network stick together is the incentives. The Core Developers are more than welcome to find a technical solution to prevent the "feature" from being abused, but if you believe miners and mining pools will stop doing their jobs and start rejecting particular transactions, then you will be disappointed.
You should also consider the pool owner's fear of having their mined block rejected. Take a look at this case
here. A perfectly valid but non-standard transaction that they refused to include in their blocks regardless of its high reward. It took more than a year and an actual block being mined on testnet to show them it is valid to get it picked up.
But if censoring trivial transactions such is Ordinals is in the future of Bitcoin, then imagine what other transactions they could start to censor. What would be the of POW in such a future?