Yes, it can be made ahead of time. That said, I don’t recommend freezing it. Fresh items like pico de gallo and green onions don’t do well in the extreme cold, and the sour cream’s consistency can get a little funky.