That assumes that you write a book in a totally linear fashion instead of in various different threads and chapters and then weaves them together later. Writing a book from page 1 to the last page without changing or writing anything in between would be unusual. If he knew for sure that the first half of the book was what he wanted and it wouldn’t change at all as he wrote the second half, then yeah he could do that but he’d have to be very confident in where he was going already, in which case he’d probably just have it all done.
I think more specifically though, is that at least initially it kept pace age wise with its readers. Not everyone was maybe exactly the main characters age when they started reading it, but about the same amount of time had passed between them and the books became a bit more adult as a lot of the readers also got older, and this was also mirrored with the movies. Its like many of us actually grew up with the characters as they grew up.