You can absolutely retrieve your photos from icloud backup if there is one.
Use Joyshare
ios data recovery [joyoshare.com] will make things easier though.
Besides, this software can help you retrieve the photos from the device itsel, which is extremely useful when tehre is no backups.