According to this reasoning, it is possible. But this is not the case. This recessive gene, which has been proved on the X chromosome, cannot be denied.
Furthermore, the trait of white eyes exists not only in male fruit flies, but also in female fruit flies, but in a small number.