I came up with this question on the AiiDA Slack channel and reporting here what discussed.
There is now a plugin available for this purpose: aiida-hyperqueue.
In short: the HyperQueue program will handle the submission to SLURM batching multiple jobs for you.
For more details, consult the aiida-hyperqueue and HyperQueue docs.