It's not really in line with Marxism at all. Marx's version of communism is a
post-nation-state theory. With no state, there can be no state planning. Central planning is an industrial-era model, and thus it's not compatible with how Historical Materialism
works: future changes happen because of future tech.
Historical Materialism is Marx's cornerstone theory. The basics of the theory are that sociopolitical organization naturally follows from economics and technological change. The modern nation-state arose out of the industrial revolution / capitalism. Communism, being a proposed successor state in the Historical Materialism model, will only arise out of changes in technology that fundemantally disrupt the nation-state political order itself. Marx held that in the communist phase, the state itself with "wither" and that the link between labor and production would break down. Things like the
internet and
automation are top contenders for how that could happen.
Here's something Marx wrote on the subject:
https://en.wikipedia.org/wiki/From_each_according_to_his_ability,_to_each_according_to_his_needsIn a higher phase of communist society, after the enslaving subordination of the individual to the division of labor, and therewith also the antithesis between mental and physical labor, has vanished; after labor has become not only a means of life but life's prime want; after the productive forces have also increased with the all-around development of the individual, and all the springs of co-operative wealth flow more abundantly—only then can the narrow horizon of bourgeois right be crossed in its entirety and society inscribe on its banners
The
bourgeois are intrinsically linked with the modern-era nation states that arose out of the industrial revolution. Marx is saying that their day will end, only when productivity is so high that working is a
desire instead of a
demand, and that the fruits of increased productivity are so abundant that people will be able to focus on what they want to do, rather than survival.
e.g. Marx was talking about
centuries in the future, when we reach near-automation levels, and when you do stuff because you
want to do it, instead of
have to do it. It's not an "everyone must work or else!" philosophy, or even a "100% employment" philosophy, it's the exact opposite of that.
If they bring in UBI, people work if they want to work, doing stuff they care about, and national borders start to become meaningless then that fulfills all the main criteria for Marxist communism.
EDIT: BTW some argue that one of the big current schisms isn't labor vs capital, but it's between nationalists vs cosmopolitans. Trump and other nationalist leaders represents the conservative nationalists, and a backlash against an ever more connected world where borders don't matter, while the cosmopolitans represent the growing core of people who see themselves as "world" citizens. This growing conflict is in line with Marx' theories of the erosion of the state in the post-industrial world. The power of nation-states will erode not because of uprisings or other "events", but because it's not
competitive against more modern forms of economic organization.