In theory, yes: Sending and receiving money via bank transfers is not restricted anywhere. However, countries where gambling is considered illegal also restrict gambling-related payments. Most probably, you won’t be able to make gambling related bank withdrawals in these countries.