Marx and Lenin figured they were practicing "science" as in assuming human social interaction was solely a natural phenomenon that could be studied methodologically then ordered without concern for any divine intent.
They would have expressed resentful anger if you told them they were practicing "religion".
Given how much they got wrong I don't see any reason to give them that.