Yes! Make the entire dip ahead of time, but don't bake. Cover with foil or wrap and refrigerate until ready to serve. Continue by baking as usual (but note that it may need a few extra minutes in the oven since it was refrigerated).