While I don't recommend making the sauce ahead of time since it'll separate when chilled, you can slice the sweet potatoes the night before. I would store them in water because sliced sweet potatoes dry out pretty easily. However, if you want to make the whole dish ahead of time, that's totally fine! You can make it up to 3 days ahead, then reheat it in the oven for 20 minutes at 350 degrees F.