The DMA requires that companies like Apple provide fair, reasonable, and non-discriminatory access for competition.
The account is really neither here nor there, it's only an issue because Apple has chosen to make it a requirement to distribute an app marketplace. It's pretty clear that they can't legally freeze out Epic as a competitor, but how they solve that is up to them.