Yep. (BTW don't ask me how they managed it)
But visa is not needed to return to Phils
There are lots of other countries where a visa is not needed, but I never personally heard of anyone getting married there.
Although there was a member here who was planning a Maldives wedding.