There are still physical casinos in the world and in many countries,you can opt to go there to socialize with other fellow gamblers and if you are about to get addicted quite some other people that will stop you if they see you are about to do crazy things.In such physical casinos there are beautiful ladies serving free food and drinks so that is another good way to not feel lonely at all by interacting with them.I know that in this place it can spark addiction but if you go there with the intention of not feeling lonely that can be a great motive to stay and forget about the loneliness one can feel at certain points.
Perhaps it could be a simple solution for lonely gamblers so they can kill their loneliness by gambling at physical casinos. At least they can meet and converse with many people while gambling. This will help them socialize, and they might get something from the gambling place. If they can find someone or several people who have an idea for doing something, that person may be interested in joining. He will not feel lonely by joining and doing something that can positively influence him. He will also not return to the physical casino because he is already busy with what he is doing. But whether to socialize with other people or remain alone will be the decision of each person who feels lonely. If they still feel comfortable with their lonely condition and decide to continue gambling, they will remain like that, and no one can change that except themselves.