No. That’s a reductionist view of coffee. The health benefits imparted by coffee are a sum of it’s parts. Some, for example melanoidins, are formed during the roasting process and they have anti-inflammatory effects and are beneficial for the gut. They peak at around a medium roast so you’d miss out on them if you roast too lightly.