As pointed out by @lmars in #3 (comment).
At the time of writing, this has not been implemented in any SDKs, despite having been added to the features spec in ably/docs#1421 and enhanced in ably/docs#1477 (RSC22).
There is an old implementation in ably-java, which does not align with the features spec.. See publishBatch methods and publishBatchAsync methods which were added in ably/ably-java#439.
See: