Actually, given that shows such as Lost In Space tended to warp (no pun intended) the network's expectation of what good science fiction was, I'd say you have the question backwards. It should instead be "Is Lost In Space the enemy of Star Trek?" And the answer is YES!
Nah, shows like Lost in Space were the best thing for Star Trek. Think about it; if high quality, adult, intelligent, message-carrying sci-fi shows were the norm back then, Star Trek wouldn't have even been necessary. Star Trek needed Lost in Space to compare favorably with and to prove the point that "it doesn't have to be like this."