You can if you want to. That's up to you.
But there are some very fundamental differences between Stalin and Christian Nationalists like Hegseth.
The first is that atheism isn't a religion. Certainly, there are similarities; both are social constructs that provide a set of agreed upon rules for society to operate.
But Stalin didn't commit his atrocities and crimes in the name of atheism. He didn't justify his crimes and atrocities with atheism in mind. He didn't say I can't be held responsible because atheism forgives me. He never justified his actions because of his atheism.
He never appealed to an outside moral authority and claimed to be a servant of that authority.
Meanwhile, Nationalists like Hegseth will commit all sorts of crimes then make an appeal to that moral authority. Hegseth cheated on all of his wives. All of them. He has been accused of sexually assaulting one woman, while he was cheating on Wife #2 with Future Wife #3 (who was pregnant with his kid before they got married).
Hegseth claims to be a flawed conduit of the divine and should be forgiven for his mistakes yet seems to keep making the same mistakes again and again and again.