@openrisk@mastodon.social not a bad idea.
NodeBB actually already does this. We have a configurable max on hashtag usage, and so if a post comes in with > 5 (the default) we just remove everything after the fifth hashtag.
They're still in the post content, but only the first five count in indexing, etc.