You can use either of it without affecting the texture of the cookie. Homemade lemon curd has a slight advantage of being better than the store bought as you control the sweetness, the tanginess as per your choice; that being said both tastes good.