Hello Yan
Welcome to our community and thank you for your question!
In general it is possible for asylum seekers to marry if you can provide the required documents.
To get some more information about the procedure, please check out these threads here on Wefugees:
https://***.wefugees.de/102431/have-question-about-marriage-between-refugee-italy-british?show=102431#q102431
https://***.wefugees.de/102357/
If you manage to get married to an EU-citizen, you can apply for a residence permit at the Italian aliens department afterwards. As soon as you received the residence permit you can withdraw your asylum application. I would advise you to stay in the asylum procedure until then because otherwise your stay in Italy would be "illegal". If you withdraw the asylum application before receiving a residence permit you might get deported in the meantime.
Best regards,
Thorgen