I never thought of the blocking of links as spam prevention but it makes complete sense.
Now that they’ve progressed a lot they have swipe up links for various accounts that integrate with ads and other publishers so they are loosening the grip.
At first i hated not having links and being able to click but now i rather appreciate it because anecdotally it definitely reduced spam.