No. Mercenary abilities are not socketed like player skills. Their abilities are innate rather than derived from a slotted gem, so a Cast on Crit weapon wouldn’t function as expected—it would be unclear which skill should activate or how it should trigger.