Follow these steps to recover deleted files from an iPhone:
Yes, you can by following this procedure:
You can use the Recently deleted files feature of your iOS device to attempt to recover deleted data. Another option is to restore from a backup. You can easily set up an iOS device to backup to iCloud automatically to protect all of your valuable data. In the event of data loss, the iCloud backup can quickly restore your files.