Ligature / tracking exception?

Hello,
I’m just wondering whether there’s a way to have a typeface that uses a ligature only if the tracking is set to 0?

thank you in advance.

Not from inside the font. This is the task of the user or software using the font. InDesign does it automatically at some point, for example.

ok, that’s sort of what I thought, but I thought i’d ask anyway.
thank you Mekka!