Technically yes. However, cat food is manufactured for the nutritional needs of cats, which are somewhat different from those of humans... to give one particular example, cats do not need Vitamin C (they can make it themselves), so a human who ate nothing but cat food would be likely to eventually develop scurvy.

An example going the other way: cats require taurine in their diet; humans are capable of making it from the amino acid cysteine. However, there are no known adverse effects to humans from consuming taurine in reasonable quantities (it's present naturally in meats, and is commonly added to energy drinks), so while you don't really need it in your diet it's not going to hurt you either.

The main point is: you can eat cat food as an occasional snack if you want, but it's not an optimal diet and would need to be supplemented by other foods in order for you to get all the micronutrients you require.