I drafted a “composer” field type for form templates not so long ago, but it wasn’t finished and got stale:
https://github.com/discourse/discourse/pull/31584
I think this path with an explicit “composer” type and working for both editors by reusing DEditor makes sense.