Terraform Azure Frontdoor wildcard frontends

Based on Microsofts documentation Front door supports wild card domains for front ends. I tried this in TF and it throws the error “Error: “frontend_endpoint.3.name” did not match regex “(^[\da-zA-Z])([-\da-zA-Z]{1,88})([\da-zA-Z]$)””

They state "Currently, wildcard domains are only supported via the API, PowerShell and CLI. Support for adding managing wildcard domains via Azure portal is not available."

Is this possible in TF?

reference: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-wildcard-domain