This is a bad idea IMO. Twig_TemplateInterface is deprecated and using a different implementation would not work anyway as the compiled templates are depending on some methods outside the interface anyway (to render blocks for instance)