Unfortunately, It's not supported and it would be very difficult to figure out what the missing reference levels are.
Formulas are handled by patsy and our models only get the final design_matrix with some design_info.
For simple (mainl only) effects, it would still be possible to figure out from the design_info what the reference level is.
For interactions, that would be very difficult (AFAICS) without changing or replicating some of the contrast coding in patsy.
Furthermore, it would also need to handle different encoding schemes.
Patsy does not have an option to NOT drop reference categories, so we cannot get the full, although singular, design matrix.
If we could get that, then we could use `fit_constrained` (in e.g. GLM) to impose that the parameters for the relevant levels are zero.
(fit_constrained results returns all parameters even if they are constrained to specific values or satisfy collinear constraints, at the cost of a singular cov_params.)
Maybe this will change when we add or switch to formulaic as replacement for patsy. But I expect that this will not be soon.
Josef