When people say “communism” they mean the principles of communal ownership and shared property. Not the specific philosophy of Karl Marx (that would be Marxism).
It is possible for someone to hold those ideal, and even live by them, before the term is coined.
If christianity had ideals other than “live like jesus”, it would be possible to follow those before he existed too.
Can a thing only exist once it has been named?