I useMastodon using my browser. I assumed that the basic structure of the web interface came from Gargron, with the individual instance able to customize it to some degree (e.g., maximum post length). That, I assumed, was why the overall web interface was much the same from instance to instance.
My suggestion was aimed at the web interface template that the instances receive.
Perhaps my mental picture of this is wrong.