Constrain font on special fontsizes?

Hi,
I created a conceptional font which is based on a special grid.
Is there a possibility to define in the fontfile that this font is only using in special fontsizes like 7pt, 14pt, 21pt or similar?

Cheers

No. You can add an optical size, but naturally, any software that applies the font can ignore it.

Its not nice to hear, but thank you for your answer.
Than I have to write an readme and explain in which condition the font will work proper.

Cheers