Replying to myself because I found a working solution:
It is actually possible with a script found here: How to join elements in array by Merge key / Combine arrays by key by Function item - #3 by Benjamin123
Replying to myself because I found a working solution:
It is actually possible with a script found here: How to join elements in array by Merge key / Combine arrays by key by Function item - #3 by Benjamin123