A digital sensor is an array of pixels. There are lines between pixels...assuming no AA filter, in which case there are lines between filter cells. The objection is a “No true Scotsman.” A camera consists of an aperture for collecting light and a medium for observing the collected light, e.g. the cameras obscura and lucida. If the collecting medium can record the collected light, it can produce photographs, either still or moving.
It’s worth noting that astronomical pictures often consist of multiple overlapping photographs. And I guess it’s plausible to describe a digital sensor as capturing many one pixel photographs.