Parametric modulation with categorical variables

Dear community,

I am wondering where can I find the requirement for a variable to be used as a parametric modulator. Particularly, is it okay to use a categorical variable as a parametric modulator when some levels of this variable only had a few repetitions (1 or 2 times for instance)?

Thanks in advance for your time reading this,