Question: can you begin a sentence with in doing so?
Answer: There is a widespread belief—one with no historical or grammatical foundation—that it is an error to begin a sentence with a conjunction such as and, but or so. In fact, a substantial percentage (often as many as 10 percent) of the sentences in first-rate writing begin with conjunctions.