Since Android detects duplicate apps, it is not possible to install the same app multiple times without deleting the previous installation. In practice, this means, among other things, that it is not possible to have two user accounts in applications like WhatsApp or Facebook, which do not support multiple accounts. However, to avoid this, we can resort to a parallel space application, such as VPhoneGaga.
A virtual machine to duplicate applications
This application works like a virtual machine and thanks to it, you can install applications that you have already installed on your device, since it works like an airtight space, outside the main operating system. This allows us to install apps like WhatsApp or Facebook and be able to use multiple accounts simultaneously without having to enter our credentials every time we want to switch accounts.
But the usefulness of a virtual machine is not only limited to duplicating applications, but it can serve to have a private space where you can have hidden files, a separate workspace or a place to test applications that can be potentially dangerous for the device. And all this, as they say, without any affectation for the operating system of our Android.