How to configure EAM as a license manager?

I was curious if its possible to setup the EAM as a license manager for leased licensing?

Here is the situation. I have gateways that are being built into derived docker images and when they spin up a backup is restored. I need them to be licensed after they boot. Since they are running in docker I can't have the license on the gateway in case power goes out or the container goes down for some reason. I can't use a docker volume with the container because if a new image is released I will need to be-able to use that new image and the gateway backup contained inside of it will need to be restored and if there is a docker volume, the backup inside the new image will not be restored.

I know that the EAM can store hardware keys and leased licenses. Is there a way to set it up, so that when one of these gateways comes online it can lease a specific license to that gateway? the EAM can be the stateful docker container we use and it would be helpful if it could also hold the licenses.