Add html based on tag

This is a bit of a continuation of this topic.

I would like to add a simple line of html to add text to a topic that has a certain tag. For example, if the topic below had the tag ‘critique’ I would like a line added that prominently says ‘Open for Critique’ as shown below, or if the tag ‘do-not-critique’ is present, then change the text to ‘Not for Critique’. I’m curious to see if this is even possible.


Technically this can be done with a theme component, yes.