I had no problems in getting married in the Philippines as a non catholic, divorced and in church.

I think it’s at the discretion of the local church, so I would ask first if it is possible.