Yes, people have successfully claimed asylum during transit. As others have said, the first step is to successfully obtain the TRV / transit visa.
Note that you are from a country that has high refusal rates for TRVs. You will need strong evidence of ties to be approved and also be able to...