Can you use Routes on Structure entries
You know you can do things like this in your root entry  template to load it dynamically based on slug or entry type 

{% extends [
  'pages/_custom/' ~ page.slug ~ '.twig',
  'pages/_entrytypes/' ~ page.type ~ '.twig',
  'pages/_generic.twig' ]
%}