You can claim gambling losses up to the amount of your gambling winnings. You don't need a W-2 g to enter your winnings. After you enter the winnings amount you'll be asked to enter losses.
If you mean, can you deduct losses without showing winnings as income, the answer is no.