yes. i’ve seen the sausage being made. the quality of the factories making the drugs varies wildly. and the factories where the brand names make them are generally much higher quality in all respects.
edit not to mention the processes can be wildly different too as those are not part of the initial disclosure to get patent protections.