Mobs such as iron golems, ravagers, and hoglins should take reduced knockback from bows with the Punch enchantment. However, they do not.
To recreate: Spawn in an iron golem, a ravager, a hoglin, and a creeper so that they do not see each other. Enchant a bow with Punch II and shoot all four mobs. Observe that they all get knocked back the same distance.