What do you mean by "OK?"
(OK by whose standards?)
I mean if you look, for example, in OT times, who at times did God "put in charge" over Israel? If it wasn't some foreign hostile enemies, even when Israel had its own ruler integrity, the bulk of them did not "fear the Lord." I mean, at times, God in His sovereignty simply seemingly concluded, "They get who they want (or deserve)."
So, since the sovereign God has placed even wicked leaders into place with whom I disagree, my "OK" ultimately means nothing. (I mean even 2 Cor. 4:4 and 1 John 5:19 tells us that Satan is the "god" of this age/world...he's not exactly a global leader I would pick...but we wicked, evil, unrighteous folks deserve who we get.)
Now, a different question might be, "What kind of leaders might help our country to be steered in a more edifying public policy and spiritual direction?"
:::sigh:::: Okay, I figured the question was simple enough for you to understand. Let me rephrase.
What faiths could a candidate embrace that would not cause an issue for you as a voter.