Yes! The Onboarding Tasks demo app actually has this functionality, so digging into that app should be helpful. Create a new canvas app and select the tablet layout templates to find it.
Otherwise, the quick answer is to use the Office365Users connection and the following code:
Office365Users.UpdateMyPhoto("image/jpeg", UploadedImage1.Image)
where UploadedImage1.Image is the picture you want to use.
Also, you can do that by logging into office.com, clicking your name in the top right corner, and selecting 'My Office profile', if you are just wanting to do that in general and not as a PowerApp feature.