Hi and Welcome. My Name is Ashik and I look forward to assisting you today with your question.
Sorry for the delayed response. My apologies. As you probably already know, when you delete something from your phone, only the reference to that file is being deleted and the actual file will be still there for a limited time and could be recovered using third party data recovery applications. These deleted files will be there until they are overwritten with new ones. It is possible to retrieve deleted files like photos, messages etc. But that completely depends upon how much you used your phone after you deleted them.
If you have taken photos or videos, downloaded apps, etc after you deleted them then the chance of them getting recovered is slim to none. Because they might be overwritten with new ones.
The more you use the phone, the more it becomes hard to recover. However, you can attempt to recover them using the following applications
Dr.Fone for from Wondershare --> https://www.wondershare.com/android-data-recovery.html
EaseUs --> https://www.easeus.com/ad/recover-deleted-files.htm
The applications are paid ones, so try the trial versions before buying them. Again, I can't guarantee they can be recovered and the success completely depends up on the factors I mentioned.
If you have any questions or would like any additional information, please don't hesitate to ask.