Yes, you can delete photos from iCloud and keep them on your iPhone by turning off iCloud Photo Library and My Photo Stream. This will remove the photos from iCloud but keep them on your device.