No, this is why devs need to read the TOS, realize Google/Apple are not platforms they want to support, and work to create/support platforms that are developer-friendly (e.g. F-Droid/itch.io, as highlighted here).
Or they are the platforms they want to support (because, for instance, they're where the people are), in which case they're just trying to both have and eat their cake, like Epic on the Apple store.