Transfering leaderboard scores

I have a game where the map resets every 24 hours and the leaderboard is reset at the same time. I want to add an item to the game that lets the player play tomorrows map early if they want.

I was thinking of creating another leaderboard for tomorrow and then create a cloud code script that runs at the same time when the level resets and transfers the scores from tomorrows leaderboard into todays leaderboard and resets tomorrows leaderboard.

Would this kind of system be possible to create using cloud code? Or alternatively some other solution that would help me with this task?

If someone in the future is looking for a solution:

I made this work by creating a leaderboard for every weekday. Then I have a script that checks the current date from the server, checks the weekday and adds one into it. So if I played on monday the script would post on tuesday leaderboard. Then each leaderboard resets once a week at 00:00 the next day.