Technically you can, yes, but squash has such a high water content that it tends to get mushy and watery when frozen and thawed. I much prefer to eat it fresh. The good news is that it'll keep in the fridge for a few days, if tightly covered.