Yes, if you're gambling at licenced casinos. There are also unlicenced casinos where you can gamble almost anonymously, without submitting personal information, though bitcoin can probably still be traced back to you by the authorities.