I don't recommend it. Freezing changes the texture. Some say that pastry cream with flour holds up better than a recipe made with cornstarch, like this one. I've read that some people have figured out how to fix it when it separates, but it sounds like a lot of trouble to me.