Amend a previous tax return because Educational credit not included

I am an undergraduate student, and in my 2023 tax return, I mistakenly checked the box stating that ‘Someone can claim you as a dependent.’ However, I was not a dependent since my parents live outside the U.S. and do not file U.S. taxes.

I had $2K in wages and $19K in taxable scholarship income (excess over qualified expenses). Because I filed as a dependent, I did not claim the AOTC and paid $728 in federal taxes.

If I amend my return to correct my dependency status, can I claim the nonrefundable AOTC and recover the $728 I paid?  I am aware that I could not get the refundable part of the AOTC because I do not qualify for that.