I noticed this a lot when reading through studies on visual working memory for a paper. In one, the participants were the two lead authors and the grad students in their lab.
Yes, and that's not always a problem. I remember this issue was addressed in my 'methodology' classes where it was explained that a lot of research has been done to figure out in which ways student/non-student participants differ.