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.
Si teméis no ser equitativos con los huérfanos, entonces, casaos con las mujeres que os gusten: dos, tres o cuatro. Pero. si teméis no obrar con justicia, entonces con una sola o con vuestras esclavas. Así, evitaréis mejor el obrar mal.
Casad a aquéllos de vosotros que no estén casados y a vuestros esclavos y esclavas honestos. Si son pobres, Alá les enriquecerá con Su favor. Alá es inmenso, omnisciente.
Y entre Sus signos está el haberos creado esposas nacidas entre vosotros, para que os sirvan de quietud, y el haber suscitado entre vosotros el afecto y la bondad. Ciertamente, hay en ellos signos para gente que reflexiona.
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.