Yes. Apple says photos shared using the “Anyone with the Link” option will be accessible for harmful-content checks.