Yes, acids can 'cook' ingredients through a process called denaturation, where the acid unfolds the proteins in the food, similar to the effect of heat. This is how ceviche is made, where fish is 'cooked' in citrus juice.
The process of 'cooking' with acid is technically called denaturation. When you apply an acid, like lemon or lime juice, to protein-rich foods like fish or meat, the acid causes the proteins to unfold and change their structure. This is the same thing that happens when you cook food with heat. The proteins become tangled and opaque, giving the food a firmer texture and a 'cooked' appearance. However, it's important to note that while the texture and appearance change, acid 'cooking' doesn't necessarily kill all bacteria in the same way that heat does. Therefore, it's crucial to use very fresh, high-quality ingredients when preparing dishes like ceviche. The time required for acid to 'cook' food depends on the type of acid, the concentration of the acid, and the size and type of the food being 'cooked.' Smaller pieces of food will 'cook' faster, and stronger acids will denature proteins more quickly.
Always use the freshest ingredients possible when 'cooking' with acid, as the acid doesn't eliminate all potential pathogens like heat does. Ensure the food is submerged in the acid for even 'cooking' and monitor the texture closely to prevent it from becoming too mushy.