Interesting question, but not likely. The African Obama family is apparently muslim, and Stanley Ann was, at that time, atheistic. Not likely to find church marriage or baptismal records on this bunch, even if the church was old enough to keep them.
Grandfather of Obama had been catholic before conversion to Islam. He had been a chef for the missionaries. If she wanted a “legal marriage”. The church might have served as the closest JP.