Both .idml and .idd files are actually from Adobe InDesign, so if any kind of idml to idd conversion is possible, it would be done with the original software. Perhaps this is related to exchange of documents between the Windows and Mac versions of the software, but we have not found anything relevant about this, but you can always try to contact Adobe/InDesign support or some online community for help.
Updated: July 25, 2023