No, you don't have to invite someone to WhatsApp. However, if you want to add someone to your contact list, you need their phone number.