The Verdict: Not eligible
Indonesia does not recognise same-sex marriages, so there is no spouse route to residence or citizenship. Look at the routes that do not depend on the relationship.
The Marriage Law (Law 1 of 1974, Article 1) defines marriage as a bond between a man and a woman. A same-sex marriage made abroad is not recorded in Indonesia, and the spouse stay permit requires a recorded marriage.
Each partner can still qualify for residence on their own account: our Retirement, Digital Nomad, Skilled Migration and Golden Visa quizzes for Indonesia cover the options.