No food you feed your cat is entirely without risk. You’ll have to decide if the potential risks from feeding raw food outweigh the long term risks to your animal’s well being from feeding commercial food. It’s your decision.
You obviously have a good deal more control of what is going into your cat and the quality of each individual ingredient when you prepare your cat’s food yourself. Exercise that control responsibly.
My own suggestion on that front: When possible, try to procure meats from free-range sources as the bacterial counts and the possibility for parasite contamination are lower in meats from animals raised in better conditions. (Source here.)