Is is possible to add a bespoke Twig template loader?
When you call Craft's TemplatesService-&gt;getTwig()  (craft()-&gt;templates-&gt;getTwig()), the first parameter you can pass in is your custom template loader classname.

i.e. craft()-&gt;templates-&gt;getTwig('\My\Awesome\Plugin\TemplateLoader, array('my' =&gt; 'options')