If you’ve got a full backup somewhere and those pictures existed in the backup, you could restore an iPhone with that backup and the pictures would be in it.
If you don’t have a backup or a 2nd phone to restore to - they’re gone for good. All data on the iPhone is encrypted