The Talmud says that for every thing God has forbidden, He has created an equivalent that is permitted. [Chullin 109b] It then gives a short list of such equivalents, such as marrying your neighbor's wife if she gets a divorce first; or eating the brain of a shibuta fish, which tastes like pork. We can think of many more, such as other kosher foods that taste like unkosher ones (e.g., cheeseburgers with fake meat or fake cheese, "bacon" bits, etc.); "murderer" sublimated into surgeon, butcher, or soldier in wartime; etc.
Is this accepted mainline teaching? If so, did any commentators compile lists of the permitted equivalent of all God has prohibited in the Torah?