Yes, but make sure everyone is lined up so your depth of field is under control. I shot this group photo at f/2, and it only worked because everyone was in a straight line:u003cimg alt=u0022u0022 src=u0022https://digital-photography-school.com/wp-content/uploads/2021/01/best-aperture-for-portraits-family-f2.jpgu0022/u003e