Answer
Yes, you can file the petition. You may file a Form I-130 (and any applicable accompanying application). Your eligibility to petition for your spouse, and your spouse’s admissibility as an immigrant at the immigration visa application or adjustment of status stage, will be determined according to applicable immigration law and will not be denied as a result of the same-sex nature of your marriage.