Automation: MQTT trigger with templatized topic

I cannot find an answer to this
Is it possible (and how) to use a template to describe the topic of a mqtt trigger?

I.e; is something similar to

trigger:
- platform: mqtt
  topic: "{{ stream_topic }}/sensor/#"

possible in some form?

Thanks