Just for clarification, but do you mean you can automate that stuff?
Yes.
uBlock at its core is really just a scripting system for replacing CSS content using certain rules.
The most common usage is to remove content you don't like, but really it can manipulate things in a zillion different ways, many of the more advanced features are only available to the user and not larger block lists for security reasons.