It has been requested several times to also support CosmosDB. In theory it should be very simple as CosmosDB supports the MongoDB format. In practice there are a lot of small changes.
With this feature request I want to track this task.
I have started by creating a custom event store for CosmosDB because it was not possible to migrate directly.