No, once students are assigned to a group or self-enrol, there is no way for them to see what group their peers are in. Instructors would have to export groups(via Grades tool) and add a file with group membership to Content.