If you have lived legally and on habitual basis in France for at least 5 years, it is possible to apply for French nationality by 'naturalisation'. It is not an automatic right; the decision remains at the discretion of the French authorities.