Perhaps, but only very slightly. Usually ethnic groups are a collective of people with the same race or ancestry and/or they have common traits in their cultures that set them apart from other...
In literature, they are writers who create from the perspective of certain groups and ways of life that differ appreciably from the norm of a particular society.