Generally lawfully present aliens are eligible (see here), and that includes students.
However, eligibility has additional components. For example, if you're eligible for a different type of subsidized coverage (Medicare or Medicaid) then you're expected to use that and not the marketplace. So, for example, if your income is below the 100% Federal poverty limit ($18310 for a family of two in 2022), then you cannot claim APTC because you're expected to be on Medicaid. As an alien in F1 status you may be barred from Medicaid, but for the APTC eligibility it doesn't matter. The only exemption is for green card holders barred from Medicare - they can receive APTC while they're unable to sign up for Medicare.
Additionally, if you already have coverage through your university (which I expect you do, or at least should, as a condition for your visa) then you cannot claim APTC because you're basically double dipping.