No.
> My understanding of history is that up until like the 16th century North Africa, the Middle East, and India were global leaders in science and industry.
If anyone were 'global leaders' back then it was probably india and china but both were predominantly tea drinking societies. But there were no real global leaders of 'science and industry' back then because 'science and industry' didn't exist as we define it today and nobody had global influence. North africa hadn't been a leader of anything since the fall of ancient egypt. The middle east had it's moments of glory but far more moments of embarrassment ( european, mongol, turkish, etc conquest ).
Arguing coffee was behind the enlightenment is as silly as arguing tea is why britain conquered the world.