Hello!
I think there is something I misunderstood: I tried your example pack, but it doesn't work for me. The iron ingot that I give myself with the /give command and the CMD tag do not take the texture of the gold ingot. The datapack is enable, no problem, and I trie with another datapack and another item, but nothing change. What did I miss?