Possible to distribute containerized apps under a pay-for-use system?

Wondering if there’s a system in Docker’s ecosystem, that serves to license / charge for usage when your containers are run. (e.g., like AWS AMI’s)