Make an app similar to WhatsApp?

I wonder if it is possible to make an app similar to WhatsApp for users who know each other, as friends or who belong to a group or groups, but known. In short, messaging.

It is always good to search the community before asking any question