It is not illegal to have an offshore bank account, but you may have problems getting a safe one if you are not able to open the account in person.
Even if you had one though, aren't there other identification requirements at the gambling site in order to withdraw, such as ID and utility bills to prove your residency?