No. The warranty needs to be purchased within 60 days, there is nothing said about the 'input' accessories which is the technical term Apple uses to cover both Apple Pencil, Magic Keyboard and Smart Keyboard folio. Sounds like as long as the device is used in conjunction with the iPad, it's covered. obargy. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.