Yes of course but I could not see how using a leak detector soap solution would help with a vacuum leak. A pressure leak yes off course but vacuum? With a vacuum leak I would use the lambda response with a flammable leak tracing fluid or pressurise the system for a leakdown test or smoke test.