First of all, the natural business to sue if you suffer damages from an app is Apple or Google, because they’re supposed to curate the apps in their stores, and because of course they have vastly more money to pay in damages than an obscure indie developer.
Anyway, I don’t know much about laws in the EU, but the EU DSA, if it had been sanely written, could have required gatekeepers to provide the business address of developers in their stores on court order, instead of doxxing everyone upfront.
Do you know for a fact that a court could not already compel this? Indeed you could first sue Apple or Google, who are known entities, and then get the developer address during that lawsuit. Of course this is all hypothetical, because in reality, app store customers don't sue remote indie developers.