All users have the ability to update their profile photo from Teams, Outlook, Web mail, or Delve. Delve is the easiest way in which to make changes to the photo.
See Microsoft's official site for additional directions and other information around Profile photos.
https://support.microsoft.com/en-us/office/view-and-update-your-profile-in-delve-4e84343b-eedf-45a1-aeb9-8627ccca14ba