No, it is not illegal, but it is recommended to choose open-source and secure applications to ensure your privacy.