It was a hidden perk of the former AF Frequence Plus. For their very loyal customers (the best Rouge ones), AF allowed to pool the miles from the different members of the family if a family trip on award tickets was planned.
I have never tried with Flying Blue though. But one thing is predictible, you will need to be a super Platinum to do this.