You can use Mastodon's filter system to automatically hide posts containing certain words or phrases or hashtags. The posts can either be hidden behind a warning, or just hidden completely.
Although they're usually used for hiding offensive material, filters can be used for any reason. Some people use filters to avoid spoilers of an upcoming film, others use them to filter out Wordle posts for example.
Filters have lots of options, so I've done a complete guide at:
➡️ https://fedi.tips/filtering-your-timeline-to-hide-posts-on-mastodon/