How to marginalize rather than condition on variables to make the output of brms marginal_effects a literal AME

You can’t. If you want marginalization over varying effects, there is already an issue for it (https://github.com/paul-buerkner/brms/issues/489). If you want something else, feel free to open a new issue.