Yes, it should be possible...but you have to plan a reconfiguration of your IRF Stack (with its IRF logical ports) to use the one 40 GbE QSFP+ port (or, if you can afford, at maximum two binded to the same IRF logical port for resiliency and load balancing) instead of using, as happens now, 2 x 10GbE SFP+ ports...doing so you will free your actual four SFP+ ports (four in total, per Switch) and then you will be finally free to use them to create your LAG(s), each LAG, terminating on each respective Aruba 5400R zl2 Switch...or use those ports at your convenience.
On the HPE FlexFabric 5700 Switch Series, the IRF physical interfaces admitted are:
- 10 GBase-T ports (group restrictions as described above)
- SFP+ ports (group restrictions as described above)
- QSFP+ ports (admitted usage: a single 40GbE QSFP+ port as an IRF physical interface OR breakout [*] SFP+ ports of the QSFP+ port as IRF physical interfaces)
[*] when you follow the breakout SFP+ ports rway (so the the single 40G QSFP+ port splitted in four 10G SFP+ links) then you fall again on the group restriction case (basically, it's "all or none").
For details see the HPE FlexFabric 5700 Switch Series IRF Configuration Guide (valid for 2422P01 and later versions), Hardware Compatibility paragraph of the Setting up an IRF fabric first chapter.