Yes, and it is encouraged. Allah mentions marriage as a sign of His mercy, placing love and mercy between spouses (30:21), and the Prophet ﷺ encouraged those who are able to marry.
Na ikiwa mnaogopa kuwa hamtowafanyia mayatima uadilifu, basi oeni mnao wapenda katika wanawake, wawili au watatu au wane. na mkiogopa kuwa hamwezi kufanya uadilifu, basi mmoja tu, au wale ambao mikono yenu ya kulia imewamiliki. Kufanya hivi ndiko kutapelekea msikithirishe wana.
Na waozeni wajane miongoni mwenu na wema katika watumwa wenu na wajakazi wenu. Wakiwa mafakiri Mwenyezi Mungu atawatajirisha kwa fadhila yake. Na Mwenyezi Mungu ni Mwenye wasaa Mwenye kujua.
Na katika Ishara zake ni kuwa amekuumbieni wake zenu kutokana na nafsi zenu ili mpate utulivu kwao. Naye amejaalia mapenzi na huruma baina yenu. Hakika katika haya bila ya shaka zipo Ishara kwa watu wanao fikiri.
Hadith
Sahih al-Bukhari 1905
Narrated 'Alqama:While I was walking with `Abdullah he said, "We were in the company of the Prophet (ﷺ) and he said, 'He who can afford to marry should marry, because it will help him refrain from looking at other women, and save his private parts from committing illegal sexual relation; and he who cannot afford to marry is advised to fast, as fasting will diminish his sexual power
Arabic text (with chain of narrators)
حَدَّثَنَا عَبْدَانُ، عَنْ أَبِي حَمْزَةَ، عَنِ الأَعْمَشِ، عَنْ إِبْرَاهِيمَ، عَنْ عَلْقَمَةَ، قَالَ بَيْنَا أَنَا أَمْشِي، مَعَ عَبْدِ اللَّهِ ـ رضى الله عنه ـ فَقَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم فَقَالَ " مَنِ اسْتَطَاعَ الْبَاءَةَ فَلْيَتَزَوَّجْ، فَإِنَّهُ أَغَضُّ لِلْبَصَرِ وَأَحْصَنُ لِلْفَرْجِ، وَمَنْ لَمْ يَسْتَطِعْ فَعَلَيْهِ بِالصَّوْمِ، فَإِنَّهُ لَهُ وِجَاءٌ ".
This is general information, not a fatwa. For your own situation, ask a qualified scholar.
Questions about halal and haram
Is marriage halal?
Yes, and it is encouraged. Allah mentions marriage as a sign of His mercy, placing love and mercy between spouses (30:21), and the Prophet ﷺ encouraged those who are able to marry.