Yes, coatings have to meet various tests to get you any credit, but potting seems to be assumed to be perfectly reliable as an insulator.
Also, in most fields the regulatory bodies normally don't care whether your product works, only that it is safe. As another poster noted, many of the standards don't forbid you from using smaller creepage distances where it does not affect safety. They will just disregard or short out any gaps that are less than the specified distance during the assessment of safety. They'll (probably mentally) short out any semiconductor switching devices for the insulation safety assessment anyway. If the user is still separated from "hazardous live" parts by other double or reinforced insulation that does meet the rules, and there isn't any fire etc., it may still pass. You might want to find out which standard applies to your product and read it carefully. If you don't want to buy it, these guys will read it for you, and offer advice:
Chris