Can I claim compensation for an accident that was my fault?

Generally no, if solely your fault, but there may be instances where liability is apportioned between more than one party; or in accidents at work where an employer has fallen short in their duty of care.