In my experience some candidates have been put in front of me because of who they knew, or because of mistakes in the initial filtering process and they were never going to progress, but interviewing someone for practice, no - not very ethical, or fair on the candidate.
Then of course there's the internal candidates who are interviewed out of politeness...