[Did the unrest during the transition between Arab and Berber rule inspire Dany's storyline?]
No. Sounds fascinating, but I'm afraid I don't have enough experience with the Berbers or their history to draw on them for inspiration.