Welcome to the forums! You could write your sentence either way and have it make sense. If you wrote the prepositional phrase "in the way" without the preposition "in," most speakers would understand you with no problem.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.