As Rab stated, yes.
A store bought pie usually has different sorts of artificial preservatives to lengthen its shelf life. Many of these so-called preservatives are not that healthy for us. And they can subtley alter the flavor of the pie.
A homemade pie is made with ingredients which you, the baker, put into it. There are no artificial preservatives in the pie, unless you put them in the pie. The taste of a homemade pie is far superior.