Create per frame index

Right, then yes a template can do that.
Check the _templates API endpoint and you can copy the existing Logstash one.