Sure, Du Bois lived a very long life and was involved in a wide variety of social and political movements, one of which was indisputably totalitarian. You could say the same thing about Martin Heidegger and Ezra Pound.
We could describe in great detail the political and intellectual activities of Du Bois, Heidegger, and Pound. I just don’t have an interest in doing so.
My preference would be societies to intellectually shun anyone who is enamored of totalitarianism; that whoever espouses totalitarian ideas is forever stained by them. But, again, I’ll be politically neutral in my library.