According to Narada-bhakti-sutra.22-24, even as the gopikas danced and played around with Srikrishna, they never even forgot once his greatness as the Lord of the universe. In the absence of this perpetual awareness of his greatness, it would have been just got classified as passion. Gopikas were not looking for self-gratification. Their happiness was in making Krishna happy.