It depends on what case you have, i.e. if it has a motherboard cutout, and if it does, yes, you can install it while in the case. But people usually recommend taking the motherboard out of the case when installing a new CPU cooler.
Narfar is a diverse community of product enthusiasts. It is fine to disagree or share opinions, but please remain constructive and refrain from being rude to others. We have a zero tolerance policy against offensive behavior.