Change NBT tag of item every 10 ticks

Hello! I would like to change the CustomModelData of a weapon every 10 ticks, to pseudo-animate the item model. Is this possible?
Was this page helpful?