Using programs like Disk Drill, iPhone Backup Extractor, FoneLab, etc., you can attempt to recover remnants of files from your media library that seem permanently deleted.
While you might not get back the full files, it's possible to find thumbnails, preview images, or media shared via social media in your iPhone's cache or hidden folders.
This method also applies if you have a Mac connected with the same Apple ID, offering a forensic approach to possibly uncovering some data. These tools copy your phone's file system to your computer, decrypt it, and organize the data for review, potentially revealing lost photos and videos within an iOS backup in a user-friendly format.