I doubt it!
Duplication followed by maintenance overhead including having to accommodate core breaking changes.
On top of that, leave the ecosystem and you can’t use plugins or theme components, doh!
So much easier to simply implement your entire community logic with Discourse as is? (for vast majority of use cases) and add customisations as required in themes and plugins.
For proof just look at the multitude of companies using discourse for handling community.