No, WhatsApp channel cannot be used to collect opt in information from clients.
WhatsApp can only be used for interacting with your registered/opted-in customers. Although, you may refer the below documentation to understand better on how to collect opt in for WhatsApp.