I’m not sure that I fully understand, but I think you want a plugin that will remove a user from a group when they post in a set of categories (using a topic create hook) and then run a job daily to add them back to the group after some number of days since their last topic in that set of categories.
Probably 3-5 hours work, maybe a bit more with good specs/tests