Yes, Heaven is a reward and Hell is a punishment in the sense that they are places that are pleasant and unpleasant for human habitation, and there are some scriptures which allude to different degrees of reward and punishment based on behavior (although the Biblical understanding is that behavior expresses the heart), but as for the big question of who gets in, good and bad behavior are not par