Even basic card counting can improve your edge as a player and card counting is a legal technique. You can’t ban someone from using their brain. However, because of your extra edge, a pit boss at a land-based casino may ask you to stop playing if they suspect you are card counting.