Prepare the crust: Roll out pie dough to a 1/8-inch thickness on a lightly floured surface. Fit dough into a 9-inch pie plate, and trim crust to a 1-inch overhang using kitchen shears. Fold edges under, and press to seal using the tines of a fork. Prick bottom of pie all over with fork.
Preheat oven to 425° F.
Mix cream cheese with egg, 1/4 cup sugar, and 1 tablespoon vanilla extract in a bowl. Pour cream cheese mixture into pie crust. Toss sliced apples with 1/3 cup sugar and cinnamon; top the cream cheese filling with the apple mixture. Sprinkle with sliced almonds (if desired).
Bake pie in the preheated oven for 10 minutes. Lower oven temperature to 350°F and continue baking until the filling is set and the apples are tender, 30 to 35 more minutes. Cool and serve.