Can tagging an entity trigger predicates in advancements?

This would be very helpful for selecting entities to modify. I am open to better suggestion on how to select.

I am running a ticking function to first check for a sniffer without the smithed.entity tag. Then to the function called in the 1st photo--where that checks for a newly spawned snifflet with the Age nbt, and the predicate is to check for the block below the snifflet if it's in the #sniffer_egg_hatch_boost tag. This is further called into the function called in the 2nd photo to finally be tagged.

This is where I feel like i need the most help, at least from my current understanding. Once tagged, i was planning to use the predicate in the 3rd photo to maybe change into an advancement to detect the end of the sequence to apply the modifications to the entity.

This is my first custom entity idea and I don't know what I'm doing really

Continue to help post