Creating a brmsfit object with a modified brms-generated Stan model

Is this possible with cmdstanr backend? I’m trying to implement my needs from this post: Shared parameters in multiple models