GraphQL Spec doesn’t support this. What you can try is to use Upsert Block in Custom DQL.
With Upsert block you can create a chain of mutation and queries if needed.
PS. Oh, sorry, Custom DQL won’t work… Cuz it is a Mutation. Custom DQL supports only Queries. We should support mutations to make it work.
Ping @pawan, @michaelcompton
Cheers.