If they could put up with it, I think anarchists could play a really important role in a DOTP. As long as they're willing to accept broad direction from the state, they could be the leading edge of communization.
For example, a DOTP in the US would immediately nationalize all agricultural land held by owners over a certain scale. A big chunk of that would remain heavily mechanized but centrally managed, to ensure continued mass production of low-cost food. But large pieces of that land would be designated for the establishment of agricultural communes, and I think anarchists could take a central role in those communes given their propensity for commune building an prefiguration. Receive state support and capital to get started, innovate new social and agroecological techniques, and eother directly handle the distribution of surplus food to adjacent communities or turn surplus over to the state for centralized distribution. The rate of communization is going to be almost entirely dependent on how many people want to do that, and so prefiguration through anarchist communes becomes an incredibly powerful tool encouraged and supported by the state rather than a longshot struggle against a hostile state and economic system. If the anarchists can go out and make effective, healthy, collective communities, the state can promote that model for more people to adopt.
This is just one example of how I think a DOTP and anarchists can productively collaborate, there are definitely others.