As far as I could tell from the following, Distributing Apple Developer Enterprise Program Apps you cannot use wildcards for enterprise apps, but others are OK.
The following link goes into more detail: When should I use a wildcard App ID vs. an explicit App ID?
Lastly, a workaround provided by Smoky Minds on the following link might work for you if the other did not: