Yes you can. Feel free to use whatever dish you've got available. You will simply have to cut your pastry to fit the shape accordingly.