Yes, most home inspectors will use a ladder and go into the attic to inspect the roof and some will even use a drone to inspect the roof. If the home inspector sees any issues with the roof, they'll note that in their inspection report and recommend that the buyer have a roofer come out to further inspect and provide a quote for the necessary repairs.