Question: can you begin a sentence with by?
Answer: Starting a sentence with by is fine. The subordinate phrase is a prepositional one which acts as an adverb to modify the verb consume. It is an adverb of manner answering the question starting with how.