Yes, optimizing iPhone storage frees up space for your photos. It stores high-resolution versions of your pictures online, keeping only the thumbnails and freeing up space. You can always download the high-resolution versions from iCloud when you need them.