In fact it's still forbidden by Google ... Except if you are very large like Pinterest
It might not be forbidden if it works. Google is famous for undocumented workarounds.
Re:The 'Fuck You' Pattern
by cjohansson on Monday June 28, 2021 @05:41PM
(#27668562)
Only the most expensive SEO-experts know the occult methods of success on Google's search results
Hmmmm. Now that I think of it I'm fairly sure that serving different content to Googlebot compared to what you served ordinary users used to be a good way to call down the wrath of the SEO master upon your (or your clients) website.
Then again, that was before. Back when Google was a nice company and acted in the best interest of its users.