Dear
@Madamethibaut1,
thank you for your question.
In general it is possible to get married in France even as a refugee. Please follow the link in order to find out what you both need to submit to get married:
https://uk.france.fr/en/holiday-prep/getting-married-france-0
Please also see at the following answer in the community, it was addressing a similar question:
https://***.wefugees.de/800502/im-us-citizen-wanting-to-marry-syrian-refugee-living-abroad
I hope this helps you, if you need further assistance please let me know.
Best regards,
Nilab