I mean, yes? There are many techniques for blocking or throttling high volume scraping. You don't even need to understand the techniques, plenty of companies sell this as a service.
That's beside the point though. There's no actual need to force logins, it's just something Elon wants. Given what a dumpster fire Twitter has turned into the rational move for most people is probably to just forget about the site at this point.
While this is tangential, you've stoked my curiosity. What could prevent scraping? In this case, they're combating against scraping from other major businesses, so another company doing something like setting up thousands of distinct IPs to scrape from at rates which are specifically intended to mimic organic usage would not be difficult.
Only thing I can think of is starting to get into gaming-site type territory where you end up trying to do things like analyze mouse position, click patterns (every 30 seconds at exactly the 0,0 pixel or whatever), and so on. But this sort of stuff is a cat and mouse game, where I think the cat is generally going to be at a pretty big disadvantage.
IMO literally nothing, as long as the analog hole exists. The best they can do is make it more expensive. Requiring an account is one way to do that. Another option is to take the RIAA route and sue everyone involved. Of course they will likely fail, but they can weaponize the legal system against less well resourced companies.
A better idea would be to sell access to the firehose and API at a reasonable cost such that it makes more sense to pay them for this rather than set up a whole scraping farm, aka the Netflix model. Unlike Netflix, they won't be crippled by 3rd parties unlicensing content.