If you "Berbers" you mean the indigenous population of the Maghreb, than in a sense yes. The Ancient Egyptians fought multiple times a ethnic group called variously the "Labu", "Libu", "Rebu", or "Meshwesh" (http://www.salimbeti.com/micenei/sea.htm). They are mentioned as coming from the western Libyan desert and attacked egypt several times, once in the reign of pharaoh Merenptah, Rameses the third, Rameses the tenth etc. They also were members of the infamous "sea peoples" coalition that invaded Egypt around 1100 BC. Here are some links to their portrayal in Egyptian art: http://www.salimbeti.com/micenei/images/seapeoples46.jpg
http://ancientneareast.tripod.com/IMAGES/SeaPeoplesGlazedTiles.jpg(the first figure)
http://www.thebanmappingproject.com/images/large/16746.jpg
This specific tribe appears to have been eradicated by a later non-Egyptian Kushite dynasty however, as is -most likely- recorded in the Victory Stele of Piye: http://www.reshafim.org.il/ad/egypt/texts/piye.htm
":He has garrisoned Mesed with soldiers and .... .... .... Then his majesty caused his warriors to go and see what had happened there, among the force of the hereditary prince, Pediese. One came to report to his majesty, saying: "We have slain every man whom we found there." His majesty gave it as a reward to the hereditary prince, Pediese." Libyans had settled in the Western Delta, this is likely the event that finally defeated the Libyans, it is also recorded that among the surrendered chiefs "every chief wearing a feather who was in the Northland". These might have been references to the Libyan leaders of the Delta.