不可以换,In the way 除了有"用这种方法"的意思,还表示"妨碍,碍事"的意思例:Although he thought he was helping us prepare the dinner ,he was actually in the way .尽管他认为自己是在帮我们准备晚餐,但实际上他...
you can arrange the sentence like this: //One of the world's favorite drinks was invented in this way//. If you just change it into //this way, ...........invented this way//, there is a grammar error. Think about it.