Is it possible to create a Docker server and enable to get WhatsApp API directly?

Is it possible to create a Docker server and enable to get WhatsApp API directly?

Below is the article that I found and it mentioned like this.

If your question is, if you can put and application that uses the whatsapp api, in a container. then yes