I don't see why topic-based ads based entirely on on-site participation would be a problem. No need for any user-hostile garbage, bucket your communities into topics, and let advertisers target the topics or the intersections between them. Ads are sold on-site, not via third party networks.
Reddit does this, but no idea how successful it is.
Reddit does this, but no idea how successful it is.