No, Tolkien didn't set out to write a trilogy. His work was originally a sequel to "The Hobbit" and grew in scope and depth. Publishers divided it into three volumes for practical reasons, not by Tolkien's design.