God forgives all sins no matter how bad they are. That is the beauty of Jesus dying on the cross. God can forgive every sin from the past, present and the future.
As bad as Hitler was, if he seriously repented his sins and turned his ways around and accepted Jesus in his life, then yes he would have gone to Heaven.
Now we as people don't know if he was a Christian or not, we can only assume he wasn't.