How to use environment variable in IngressRoute CRD

Hello!
I'm trying to achieve something like this:

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: test-server-ingressroute
  namespace: web
spec:
  entryPoints:
  - websecure
  routes:
   - kind: Rule
     match: Host(`{{ env "domain" }}`)
     middlewares:
     - name: traefik-forward-auth
       namespace: kube-system
     - name: traefik-real-ip
       namespace: kube-system
     services:
     - name: whoami-web-app
       port: 80

However I get this:

{"level":"error","msg":"Error while adding route for host: invalid value for \"HostSNI\" matcher, \"{{ env \\\"domain\\\" }}\" is not a valid hostname or IP","time":"2023-12-23T18:04:05Z"}

Is this possible?