How to setup HASS VM behind Traefik Proxy?

I am running traefik as reverse-proxy. traefik helps me to get wildcard certificate e.g. “*.foo.com”. This certificate works with my external sites hosted in IIS.
HASS is installed on a dedicated VM. Is it possible to run HASS behind traefik and serve through https?