There are gay freemasons and muslim freemasons. Neither are reasons for exclusion.
You need to be of good moral standing though. With you being a muslim with a gambling addiction it calls your morality into question, given that gambling is haram and goes against the teachings of Islam.