No. Your employer is not allowed to sack you for having an accident at work and then making a claim. You are legally entitled to compensation for an accident at work. If your employer then tries to sack you, you could make an employment claim for unfair dismissal.