Would it be possible to modify a digital camera to photograph electromagnetic waves other than visible light?
Well, yes and no. Light waves have very small wavelengths, and therefore can be reasonably detected by the pixels in an LCD camera sensor. Radio waves, however, are MUCH larger, because the frequency is much lower. You would need a very big array to come up with anything like a photograph. Think of trying to take a picture, not of photons, but of basketballs instead. However, there do exist “cameras” of the sort you’re talking about. The “PAVE PAWS” radar installation on Cape Cod is a form of radio-wave camera, used for creating radar images of the entire area. It’s “pixels” are a big array of antennas (and they use signal-processing techniques so that the array acts both as a sensor and as a lens). But, such a camera HAS to be large, because it’s dealing with long wavelengths. Something as small as a pocket camera just couldn’t do the job.