Ibn Taimiyya writes in his Majmo’o al-Fatawa, 19/39-40

وَصَرْعُهُمْ لِلْإِنْسِ قَدْ يَكُونُ عَنْ شَهْوَةٍ وَهَوًى وَعِشْقٍ كَمَا يَتَّفِقُ لِلْإِنْسِ مَعَ الْإِنْسِ وَقَدْ يَتَنَاكَحُ الْإِنْسُ وَالْجِنُّ وَيُولَدُ بَيْنَهُمَا وَلَدٌ وَهَذَا كَثِيرٌ مَعْرُوفٌ وَقَدْ ذَكَرَ الْعُلَمَاءُ ذَلِكَ وَتَكَلَّمُوا عَلَيْهِ وَكَرِهَ أَكْثَرُ

الْعُلَمَاءِ مُنَاكَحَةَ الْجِنِّ.

Jins invade Humans due to sexual desires, lust and love, as is agreed for Humans  with humans. Jins and Humans marry each other, and children are born between them. This is well known. And Scholars have mentioned it, and talked about it. And most of Scholars have disliked marrying Jins

Apart from Jins, even Spirits can be in love with Human, and invade their body.

Let us see an example from the work of Ibn Qayyam, student of Ibn Taimiyya, who explained an incident of a Spirit-in-Love who had invaded body of Human. And Ibn Taimiyya took thatout of Human

Ibn Qayyam writes in Zaad-ul-Mi’ad, 4/60

وحدثني أنه قرأها مرة في أذن المصروع فقالت الروح : نعم ومد بها صوته قال : فأخذت له عصا وضربته بها في عروق عنقه حتى كلت يداي من الضرب ولم يشك الحاضرون أنه يموت لذلك الضرب ففي أثناء الضرب قالت : أنا أحبه فقلت لها : هو لا يحبك قالت : أنا أريد أن أحج به فقلت لها : هو لا يريد أن يحج معك فقالت : أنا أدعه كرامة لك قال : قلت : لا ولكن طاعة لله ولرسوله قالت : فأنا أخرج منه قال : فقعد المصروع يلتفت يمينا وشمالا وقال : ما جاء بي إلى حضرة الشيخ قالوا له : وهذا الضرب كله ؟ فقال : وعلى أي شئ يضربني الشيخ ولم أذنب ولم يشعر بأنه وقع به ضرب البتة

And He (Ibn Taimiyya) told me that Once Verse was recited in Ear of invaded one. So the Spirit said: YES, and then it gave a voice. Sheikh Took a stick, and started beating it on His neck, so much that My hands tired. And there was no doubt in minds of those present that The Person will die of these strikes. During the striking, finally She said: I love him. I replied: But He does not love you. She said: I want to go for Haj with him. I replied: He does not want to go for Haj with you. She said: So I will leave for His respect. I said: No, but for obedience of Allah and His Prophet. She said: I am leaving. So the invaded one stood up, and looked right and left. And said: Why has Sheikh came here. People told him: What about the beating? He said: for what has Sheikh beaten me, while I have not done anything crime, and He was not aware that He was hit