1) I tried integrating the registry key into a fresh install, hoping it would cause the scheduled task to update at some point, but it doesn't.
2) Defrag does indeed get set to "Daily" on a fresh install. However, as soon as Task Scheduler runs for the first time, it updates the schedule automatically to now be "Weekly" from that point forward. So no computer should continue to be set to "Daily" after it's been up and running for a while, unless you have some other tweaks that are interfering (host refresh for example), but even then it will be set back to "Weekly" eventually.
3) There's probably some script that can be put together to change the registry key, delete the old Defrag task, and create a new task, just like it does when you manipulate this through the schedule interface within Windows, but this is probably pointless because of #4 and #5 below.
4) Whether you manually run defrag/optimize, or let Task Scheduler do it, when it comes to SSD it's not defragging daily/weekly, rather it's only running analyze/trim features which quite literally take less than 3 seconds on old hardware. It also sounds like it will do an actual defrag (even on SSD) once per month regardless of what the schedule is set to (more on that below). There's basically nothing to be gained here by changing the schedule because the operating system kind of does whatever it wants to do, since it now has a more complex routine in modern Windows. If you want more control over things, you're better off disabling the schedule entirely, and then manually defragging/optimizing when you want to.
5) The entire defrag/optimize process doesn't work like most people think it does nowadays--there's so much old information, as well as misinformation, especially for SSD. This stuff changed a lot in Windows over the years with the introduction of new disk drive technology, and many websites/forums misunderstood it because computer users are so familiar with the Windows 98 era of defrag being focused on making files contiguous for an HDD. Below is a blog that has info from some Microsoft employees, and while it is outdated, the blog/comments show how things have evolved:
https://www.hanselman.com/blog/the-real-and-complete-story-does-windows-defragment-your-ssd