I did some experimenting, and it doesn’t look like the cam will easily do what you want. You can do it, however. 
I don’t think you need to worry about this, at least not with a 32 GB card installed (which is typical).
This is where it gets difficult. First, you can’t take only 1 picture a day. Yes, you can select that, but the camera won’t let you execute it. Like @Omgitstony said, that’d be like a 1-second video, even if you do it over a month. So that’s out.
Next thing is (as a prior sunrise/sunset photo taker myself), I know the best picture isn’t at exactly sunrise or sunset. The best colorings usually happen before or after sunrise/sunset. So you would want to photograph a range of times every day.
That would mean manually setting a range of times for sunset, then after downloading that clip from the camera’s SD card to your device (phone/tablet), set a range of times and a frame rate for sunrise. The file name will start with the date you set it (i.e. - timelapse_20211109…) Then during the next day, after downloading that clip from the SD card, you would set a range of times for sunset (and on and on, 2 times a day).
If you are lazy, you can do a month-long video. However, since there is no way to restrict each time-lapse to certain hours, you would need a movie editor in the end to extract the beast sunrise/sunset examples from each day.
So it’s either work up front (setting up the time lapses twice a day), or work in the end (extracting the best sunrise/sunset clips from the month-long video).
I’m sure there are ideas on improving time-lapse operation in the Wishlist section if you want to votes for some of those. Things like allowing multiple schedules, allowing repeat schedules, allowing sunrise/sunset as time selections (not just an absolute time of day), etc:
https://forums.wyze.com/search?q=lapse%20%23wishlist
Good luck! 