If the attic is turned into a room or other living space then yes you could insulate the roof rafters before installing sheet rock over the rafters.
However if the attic is not used as a living space then there's really no reason to insulate the attic since it's mainly a cold space up above in the attic especially if your ceiling is insulated.