Yes, you should just be able to add the compile step as a batch command. If you add the resulting JS file to your production build it will cause any can.view request to look in the pre-compiled template first.
I'm not sure if I understand your feature request however.