No, they work on a “no win, no fee” basis. You can also file yourself — free, but slower and with a higher risk of a form-letter refusal.
The fee is deducted only from the compensation recovered. No payout — no fee.