I think pairing during an interview is a great idea, and I'm surprised that it's not a more common practice. Solving a code problem before the interview is one way to get a codebase on which you can pair during the interview that both the candidate and the interviewer are familiar with. (In theory you could also pair on solving a new problem).