No, I always got the impression that they met when Kirk assumed command.This isn't meant to be a discussion of whether there's anything explicitly stated in onscreen dialogue to confirm or deny that Kirk and Spock met and were friends before they served together on the Enterprise. I'm pretty sure that such a discussion has been done enough times. Rather, I was just curious as to how you thought of it in your own personal continuity. I thought of this because I was thinking about Shatner's Academy book (which I haven't read), and trying to decide whether I liked the idea of those two meeting at the Academy.
I, personally, feel that their relationship depicted in WNMHGB gives absolutely no indication of lifelong friendship. Rather, it seems to me that in that episode, Kirk is having to deal with Spock, the stranger, telling him to kill Gary, the lifelong friend (Kinda like if in TMP, Decker was advising Kirk to kill Spock). I also feel that the deep, abiding relationship they have during the course of the franchise could very reasonably be the result of the close-knit time they spent together on the Enterprise during the five-year mission (as well as any previous shakedown cruise), and need not be the product of some destined lifelong relationship, like Pete and MJ in the Spider-Man movies (which also doesn't match the source material).
So, in my own personal Star Trek continuity, Kirk and Spock didn't meet before serving together on the Enterprise. In WNMHGB, Spock was just another officer, that had probably received a very good recommendation from Pike, and their friendship developed from there. That's the way I see it (I'll probably still read Shatner's book eventually, though, if only for curiosity's sake), how about you?
The fact that the next film will contradict that is just one more thing (among many) convincing me it's a restart.