Yes you can gamble through some of the sites such as primedice, 999dice ect . These sites are the most safe method which will help you in gamble.
There is no safe way of gambling, If there is then the gambling addicts will probably cured or there will never be one . And how can the gambling site earn if they have a safe way of gambling? It will be best to just gamble the amount that you can afford to lose, that way it will be less risky