> ... "in a way where" ...
... so that ...
The elements of Style (https://en.wikipedia.org/wiki/The_Elements_of_Style) : "Make every word count."> ... "acts as a compound lens" ...
Not really -- not the sort of lens we're familiar with, one that concentrates light at a single focus. Technical methods can exploit these chance alignments to detect objects otherwise inaccessible, but not as coherent images.
I often see remarks like this one -- "Acts as a compound lens!" -- but that's not correct. It's more like this: https://arachnoid.com/relativity/graphics/curvature_diagram....
Such alignments are more likely to produce what's called an "Einstein ring" (https://en.wikipedia.org/wiki/Einstein_ring). Very useful, but not remotely a "compound lens".
See Figure 7 in (https://arachnoid.com/relativity/index.html#General_Relativi...) for an interactive gravitational lens simulator.