This is not possible on the official Lemmy UI and as far as I know no third-party apps or clients support this either. What some third-party apps do support is hiding content based on keywords. If the content that annoys you has some words in common, maybe you could use those keywords in a third-party app to filter it that way?