You are welcome Fabian

Yes, that is possible, and this is actually a good use case for the NetPanel.
I would not think of it as assigning button 1 and 2 directly to the DaliCore, and button 3 and 4 directly to the CueCore. The cleaner way is to let the NetPanel send all button events into Q-SYS, and then let Q-SYS decide which device should be controlled.
So the flow would be:
NetPanel B4 → Q-SYS → DaliCore / CueCore
For example, button 1 could trigger a DaliCore scene for house lights, button 2 a DaliCore scene for stage work lights, and button 3 and 4 could trigger CueCore presets or playbacks for small presentations.
This also makes sense with multiple panels. Each NetPanel would have its own IP address and its own plugin instance in Q-SYS, but they can all trigger the same Q-SYS logic if you want them to behave identically.
The PoE network points at the wall outlets are ideal for this.
One thing to check: which CueCore model are you planning to use? If it is a CueCore3, the Q-SYS plugin route is probably the cleanest. If it is a CueCore2, we may need to use OSC/UDP/TCP commands instead.
For the DaliCore side I would normally recommend triggering prepared scenes, like house lights, work lights, presentation mode, audience in, etc. That keeps the system simple and reliable.
Hope this helps!