It is possible in principle, but gets harder as wavelength of captured light gets smaller and so far it is done only for long radio waves on planet scale.
https://en.wikipedia.org/wiki/Astronomical_optical_interfero... https://en.wikipedia.org/wiki/Aperture_synthesis