sounds unlikely, but extremely remotely possible.
you may have downloaded an app with malicious payload that granted remote access. best to back up data andwipe it clean. install only reputeable essential apps.
if your device backs up data ( photos) to the cloud, then most likely your Gmail (Google) account is compromised. change your Google account password and security questions. link your google account to your smartphone and enable 2 factor authentication.
good luck.