Auto format specific words

I’d like Google Docs to automatically apply a format, given the specific words and expressions. Example: if I write the word “spell”, then the text goes pink and bold, and if I write “outstanding action” then it goes bold and italic.

Is there an option or add-on for that?

Ultimately, I may consider suggested text editor apps that has this feature.