I don't understand the rules in that country regarding gambling, so maybe it will come back to the regulations in that country and also the regulations on religion or whatever.
But in my country, gambling is prohibited. So, whether it is an ordinary citizen or even more so a religious leader, it is clearly prohibited. because if they still do gambling, then their followers can also join in gambling, because they see examples like that.
In this case, the aim was indeed noble. But the method is wrong. Shouldn't a religious leader already know that for goodness and glory, the methods and processes must also be good and noble, right? If it continues like this, then won't it actually create a risk of doubt among its adherents and could it even be that its adherents follow its lead to gamble?
So, in my personal opinion, it is not necessary, whatever the reason, as a leader or religious leader, he should be able to provide the best and noblest example according to his teachings. Don't give examples that conflict with the teachings, whatever the purpose.
and as far as I know, religions usually prohibit gambling, such as Islam and Christianity, or other religions, it seems there are also such prohibitions. But whether it's true or not, we don't see the situation directly.
Like what stated here:
Source: Gambling in IslamSource: Gambling in Christian