Did you take other photos after erasing them? If yes then it's barely hard to recover. If no, you can try this tool. www.myrecover.com/iphone-recovery/
I have always had iCloud photos activated so if I go to an older iCloud backup my photos sync. Is there any way of avoiding this so that I have my old photo gallery when I load an old backup?