From Proz.com I got the suggestion to download and test the trial version of Affinity Publisher.
There's a Windows and a Mac version of the software.
I tested on macOS Big Sur and I could check the translated IDML file. The result looked very good and I could check my exported IDML file.
You can download the trial here: