The danger of falling into bad practices exists in so many things, that gambling is a part of those addictions and bad behaviors, so you just have to know how to understand what it means to be an adult and what your responsibilities are. Depending on the country, there is a restriction on age to bet, and it is 18 years or 21 years, because it is assumed that at that age you are responsible for your actions.
Then, the bad habits of some do not have to be those of everyone, and fortunately this is the case, it does not matter if you bet for fun or not, it is not an excuse to fall from grace, take an exam to determine if your dopamine levels are correct and you are not prone to falling into addictions, not just those of gambling, there are others, it is scientifically proven that addictions acquired without the effects of narcotics are the least harmful for those who do not have a medical history or are prone to fall into bad habits.