I think this'd make sense.
Currently if we have a program that uses both RPC and ZMQ we have to provide both endpoints on the command line:
./mempoolmon.py --rpc-uri=http://bitcoinrpc:user@pass:8332/ --zmq-uri=tcp://127.0.0.1:28332
Maybe a RPC call getzmqinfo. The zmq 'module' could register it itself now after #7307.