I’m fairly sure you can do this with built-in tools.
In the category settings, look at:
So you just need to make a tag-group, add the tag you want, and then select that group in the category you want it to be required.