I think we need different app/server as matrix servers depend on one software ig., matrix engine.
Imagine if theres vulnerability it will affect all matrix servers.
There's already three: Synapse (python, main implementation with full support), Dendrite (golang, beta level feature support), and Construct (C++, alpha/beta feature support, fully third party).