No, the Apple Pencil (1st Generation) does not have an eraser function. You’ll need to switch to another tool or use the undo feature on your iPad to correct mistakes.