I'm fairly sure I have done that in the past with "separate groups" when I set up the Wiki.
I think we were using Moodle 2.1 at the time. I've just looked & it appears to be possible to set a Wiki to be used by separate groups (v. 2.4), but I haven't actually tested it to see if it really works!