You cannot use a bare * in an explicit format specification like you can in a read or write statement. In the explicit format context, * represents an unlimited-format-item group that gives an infinite repeat count to a group of format-items rather than representing list directed formatting (see Cl. 9.6.2.2, R915, Fortran 2008).
The character variable holding your explicit format can be constructed at run-time, so your option to handle dynamic needs is to write code to determine the proper format specification based upon your data. Depending on your compiler, and if your data is a derived type, you may also have the option of defined output (See Cl. 9.6.4.8.3 Fortran 2008) to handle your needs.
*? There isn't any. But perhaps I don't understand your question. What does the sentence The value of myFormat can be any allowed for the type of myData. mean?myFormat = '(10e18.10)'*. The sentence you highlighted just means that I'd likemyDatato be of any data type for which a standard output is defined.