In principle you can recover deleted files but it depends on many factors such as space in tour dik, are the files overwritten, are they big size, … This is not exact science because when files are deleted they are first cut into small pieces then thrown onto the disk!
One of the first thing to do immediately, is to stop using the phone, do not install or delete files as this may ovewrite your deleted files.
The next thing to do is to install a recovery app or use one if it exists in your device. IF installing an app you should install it on SD cardNOT in the phone’s disk.