It totally depends on the casino's cashback T&Cs. If you find a good casino, you might qualify for a cashback bonus even if your loss is small.