Thanks to @Einsteino my template manager plugin is to the proof-of-concept point. It’s missing a translation, but it is functional and allows creating templates on the admin interface.
If anyone’s interested, you can find it here.
https://github.com/pfaffman/discourse-plugin-template-manager

