Yes, walkthroughs for video games are completely legal. They don't violate any video game terms of service, and they've long been a normal part of gaming culture.
In fact, official strategy guides are sold openly by major retailers such as GameStop and Wal-Mart. Whether you're reading a free online walkthrough or buying a printed guide, you're on solid legal ground when using them to help you through a tricky level.