A betting bot is a script developed to perform pre-defined actions on a betting platform without human input. These are also called gambling bots, casino bots, or value-betting software.
In general, using a VPN for sports betting and gambling is legal if such an activity is allowed in your country or state. At the same time, the legality of online casinos and lotteries varies, as every country has its own laws and regulations in this regard.