Planning it to be like a novel with an ending can work. However, I find if it's longer than a small novel, 90,000 words, I tend to lose steam.
The two things I try to avoid if I'm writing something lengthy is Over-Worldbuilding and Over-Planning.
Too much worldbuilding because it's easy to get...