I am assuming that either your Mac has crashed or if you did what I did a year ago and deleted the pics on one device and it deleted them from all devices. Apple in their infinite wisdom did the whole picture sharing thing between devices and changed the way the photos were stored and I did not know that. If the former is true then you are screwed like I was and you are sick to your stomach like I was. If the latter is true, the Mac crashed, then absolutely you can recover them because the pics are saved to your account, if you had them backed up to the cloud. I hope you are able to recover them because I know exactly how you feel. If you have another Apple device you can restore them on that device with your Apple Id. But if you deleted them then you do not have many options.