Yes, as a stage to achieving the classless, stateless society. This is very basic part of communism.
Friedrich Engels, part 3, chapter 2 of Anti-Dühring (1878)
Friedrich Engels, Origins of the Family, Private Property, and the State (1884)
Or, from the first paragraph on wiki description of...