Yes — if your APIM was on a free (non-enterprise) subscription, the DNS name is typically released after about 7 days.
That said in some cases for non-enterprise subscriptions, the cool-off period can be up to 30 days, so while 7 days is common, it’s best to allow for that possible delay.