Yeah I would agree that the so-called "war on drugs" has a heavy racial dynamic attached to it...I think that's easily verified from even the most cursory look at the evolution of the policy from the early 1970s to the present day. The United States is a country that is obsessed with the concept of "race", all throughout its history (and to those you admonish the yanks to "just move on" from the issue, easier said than done lol), and you can (and people have) made a convincing argument that the war on drugs is simply the most recent iteration of a major civil rights violation, the one which followed the previous iteration of segregation and Jim Crow.
But the policy has spread far beyond those confines, which is why I feel that it's of limited value to focus one's analysis solely on the race issue when discussing the war on drugs and the implications related to it. How does that analysis account for predominantly-white communities in the rural USA that have been blighted by the punitive effects of the war on drugs and the carceral state, for example? It may have been pioneered in the African American communities throughout the 80s, 90s etc, but once you start denying rights to your fellow citizens it never stops at one community. And in such situation it's always the poor and lower-working class that bears the brunt of it