You can, but they won't have nearly as much flavor as fresh. If you do, make sure to thoroughly defrost the pickles before cooking.