Missing data of main effects in model with interaction terms

As a follow up question, Paul, what if one or both of the covariates with missing data is a binary (categorical) predictor?

I ask because there are methods for marginalizing over the missingness in Stan models, but I wasn’t sure if those methods are “under the hood” in BRMS.

Thanks.