It is possible. I'm a Mac user. have faced data loss a couple of times without having any cloud backup. There are Apple devices data recovery tools that can be used to retrieve lost photos on iPhone. There might be other methods too, but I use this Disk Drill tool on my Mac. It can also be used for data loss prevention later.