Can you explain what the use case is? As far as I understand, this is beyond the functionality of what signals can provide.
But if you give some detail of what this will be used for, maybe there is a simpler way, or maybe it will have to be a custom thing.
But I will say that when I was working on my Vulkan engine, I created this super clever but ultimately overly complex event system.
The event system was templated, so neither classes had to know of each other, can could pass messages back and forth. It was actually pretty clever C++ code.
However, it was too complex and I based the whole system on it. Eventually it just caused slowdown and problems, I would have been better off just calling functions directly.
I had to abandon the project mostly because of that poor architecture choice.