Can a job template name contain a component input variable?

Problem to solve

Can a job template name contain a component input variable? I was unable to find anything in the documentation that indicates otherwise, but I’m getting syntax errors on what appears to be the job template name. Is this (pseudocode) approach expected to work?

I’ve tried quoting the job template name as well.

Configuration

spec:
  inputs:
    environment:
      description: 'The environment to deploy to'

---

.deploy_base_$[[ inputs.environment ]]
  ...

deploy_$[[ inputs.environment ]]
  extends .deploy_base_$[[ inputs.environment ]]
  ...