It’s not clear to me that he was “raised as a Muslim”. Sounds more like he was living in a predominantly Muslim country where everyone is pretty much assumed to be Muslim by default unless they are taking very obvious measures to demonstrate adherence to another specific faith. I haven’t seen any evidence of active participation in the Muslim faith by either him or his father.
In Indonesia Obama went to Koran recitation classes. I suppose that tells you he was raised Roman Catholic by his Muslism step father