Tls challenge with whitelist protection

I have one service protected by whitelist middleware. Can I generate Lets Encrypt certificate using tls challenge?