Curate, connect, and discover
Do you think that Arrakore will revive the Djinn when restores his realm?
Surely Arrakore will be able to restore Djinjago by fulfilling wishes, but it may take decades or hundreds of years. As for the inhabitants of that realm, it's a little more complicated. They're all in the Departed Realm.
Arrakore cannot grand his own wishes, so somebody else has to wish for resurrection of anybody who was in Djinjago when the realm was destroyed. From season 6 we know that wishes have consequences depending on how they are formulated, the wish would create different consequences.
If the wish would alter the past, the Cursed Realm would exist, and the Preeminent would curse all the realms combined in DR, Nya might not become a water ninja, and if she does become a ninja, she might not discover her true potential, Cole no longer becomes a ghost. In short, seasons 5 and 6 would no longer take place.
Another possible consequence would be for humans and other species to become possessed by the inhabitants of Djinjago.
The best-case scenario would be for anyone who was in Djinjago to come back to normal, but the process it's very painful.