Yeah I guess I was talking more about specialty chips, with actual engineering, register tables, some logic. Then "Whatever is pin compatible" Is not likely, a serie of chip from a same manufacturer yes. Now, of course, IC packages are standardized, but let's say you have a 28 SSOP packaged dac, even if you have someone else making a 28 SSOP DAC don't mean you can replace one by the other, you have to actually want to make a copy of the other, and that's expensive. But yeah, if we are talking Opamps or shift registers, sure, they are more often than not interchangeable and the design is often not under patent anymore, anything goes in term of ethics.