It’s more accurate to say that the first recipe for Apple Pie is British. Specifically mentioned in A Cook’s Tales by Geoffrey Chaucer in the 14th century.
But since both pastry dough and apples had already been around for centuries, I think it’s very likely that people had the idea to put apples in a pie a long time before that. They just didn’t write down the recipe.