There is the scd-event file in the homedir which allows to execute commands on smart card insertion+unlock or removal.
I found no possibility to execute a command when the smart card is used for decryption, signing...
For example YubiKeys blink with their LED.
It would be nice to for example play a sound when such actions happen.
Maybe not even restricted to smart card usage but in general.