Why not? There are even docker containers that will do everything for you, all you have to do is tag your application containers:
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-compa...
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-compa...