Is there any way to retrieve photos from a locked iPhone that has a broken screen?

Is there any way to retrieve photos from a locked iPhone that has a broken screen? - 1

Added (1). I can't get it to enter the passcode, but if I tap enough I could hit the "trust" button for iTunes, for an example.

Added (2). Oh, and I don't have any iCloud storage or have it backed up to my computer.

I'm assuming the real question is "how to break into an iPhone"?

If by broken its physically broken, but still functional & if it has Touch ID you could enter that & through a computer use Image Capture (Mac) or access them through the main folder (Windows) since the phone needs to be unlocked for it to have access to them.

If broken, meaning non-functional then you wouldn't be able to input anything to unlock it (or at the very least verify it is unlocked)