This is sometimes jokingly called Synge's method. Here's an excerpt from Ingemar Bengtsson's A Second Relativity Course describing it (see Chapter 5):
We would now like to see a solution describing a physical system that approaches (in some sense) the Schwarzschild solution as it evolves. This can be obtained by means of a method invented by the Irish relativist Synge. Synge’s method is as follows. To solve $$ G_{ab} = 8 \pi T_{ab}, $$ rewrite as $$ T_{ab} = \frac{1}{8 \pi} G_{ab}, $$ choose any metric tensor $g_{ab}$, compute its Einstein tensor $G_{ab}$, and read off the stress-energy tensor $T_{ab}$ from Eq. (5.2). The result is a solution of Eq. (5.1). To avoid any misunderstanding, Synge meant this as a joke (and he did not predict dark matter). A stress-energy tensor computed in this way is not likely to obey any of the positivity conditions that are necessary for it to qualify as physical.
Very occasionally the method works though.
(Bengtsson then proceeds to describe the Vaidya solutions, which are found by basically writing down a metric that looks vaguely like a time-dependent Schwarzschild solution and then interpreting it.)
It's possible that Synge describes his "method" in his 1960 book—the textbook I'm drawing from cites it in the passage above—but I don't have a copy handy.