You can use filters to do this?
https://fedi.tips/filtering-your-timeline-to-hide-posts-on-mastodon/
Just use the word/phrase from the hashtag as a filter.
Also, if people are uploading un-CW porn I would report it. Most servers do not allow that and will block the account.