We share iCloud accounts on two devices, can both backup photos to iCloud?
Yes, iCloud backup will keep the backups of your Camera Roll separate.

If you mean Photo Stream, yes, the photos will be merged into a single Photo Stream.