Sure it does, Apple has a cause of action against Epic for violating a contractual arrangement, which has nothing to do with anyone other than Epic and Apple. The only caveat is that the contractual relationship in question might be found to be illegal. But it's not as though this isn't a case between Apple and Epic about a contract dispute.