If I remember correctly, this used to be possible with NBT. It's very useful if several datapacks have the same advancement and that this one should be obtained if the player picks up specifics item available in all these datapacks.
For example, all items in these datapacks have the following custom_data data goldenEnchantedBook:1b :
give @s minecraft:enchanted_book[custom_data={goldenEnchantedBook:1b, <a_specific_data_for_each_datapack>:1b}]
Then with only one same advancement in all datapacks ...
If I remember correctly, this used to be possible with NBT.
It's very useful if several datapacks have the same advancement and that this one should be obtained if the player picks up specifics item available in all these datapacks.
For example, all items in these datapacks have the following custom_data data goldenEnchantedBook:1b :
Then with only one same advancement in all datapacks ...
... it will be granted for all items that have at least the goldenEnchantedBook custom data value to 1!