No, he did all those rituals because he actually believed
they would work, ie. his personal traditional belief system. The
government got to him and not only forced him to apologize, but
used this opportunity to frame a political target for his actions,
exactly who or which group to frame, they haven't decided yet and
are leaving this as a potential wild card for future political use
as and when necessary.

KUALA LUMPUR: Ibrahim Mat Zin, better known as ‘Raja Bomoh
Sedunia’ today admitted that he was guilty of performing bizarre
rituals which were un-Islamic in nature, and pledged to repent.
Zin said his strange rituals were done under the instructions of
another person, whose identity he chose not to disclose.
"I deeply regret the rituals I performed. I was just following
instructions from someone who advised me that this was the right
thing to do,” said Zin after his conditional release by the Syariah
High Court today.
“I would like to apologise to all Muslims and non-Muslims in
Malaysia because I have offended the nation without realising the
consequences and had put my trust blindly in this person, who told
me to create this drama with the rituals.”
https://sg.news.yahoo.com/raja-bomoh-sedunia-says-sorry-123500203.html