It does not support template variables because alerts have been moved out of Dashboards so that would not really fit.
However, it does now support queries like `host=*` with multiple alerts instances per host from one rule/query. E.g. https://github.com/grafana/grafana/issues/7832#issuecomment-...