Yes, salt can affect how spices bloom in oil. Adding salt too early can draw moisture out of the spices, hindering their ability to release their flavors effectively.
When spices are heated in oil, the heat helps to release their volatile aromatic compounds, a process known as blooming. This process enhances the flavor and aroma of the spices, making them more potent and flavorful in the dish. Salt, being hygroscopic, attracts water. If salt is added to the oil along with the spices at the beginning of the cooking process, it can draw moisture out of the spices. This can cause the spices to clump together, burn more easily, and prevent them from properly releasing their flavors into the oil. The oil's temperature also plays a crucial role; too high a temperature can burn the spices before they bloom, while too low a temperature won't effectively release their flavors. The ideal approach is to bloom the spices in oil first, allowing them to release their aromas and flavors, and then add salt later in the cooking process.
Add salt towards the end of the cooking process, after the spices have bloomed in the oil, to ensure optimal flavor extraction and prevent the spices from becoming bitter or burnt.