Marxists can be religious, it just can’t interfere with the materialist line
So, you are saying it's ok to hold conflicting philosophies or lying to yourself or maybe even being hypocrite? If you look at the "religious marxists", nearly all of them are terrible at either being marxist or being religious (or both). I don't negate that marxists and religious people can and should be on the same side now and then and even cooperate in some issues, but materialism openly and cathegorically negate religion in its entirety, without it it's not materialism but at best agnosticism.