Theoretically, you can, but they are quite rare. Most online casinos allow their bonuses to be spent only on slot machines. When you find a nice offer and want to check whether you can use it for table games, you should read Terms & Conditions.