I wanted to build something like that but never had the time to write it. The idea is creating an API endpoint which can be used to report bad IPs which then will be blocked (and maybe released after some time).
Maybe one way would be that OPNSense plugin (or a rule) could read plaintext (or database) cache of blocked IPs, which security plugins of Wordpress or Joomla create localy. OPNSesne would then add those into, for example, "Abuse IPs" aliases list, which are by some rule blocked.