AppleScript to toggle dark mode with fading
I believe at the moment this is not possible.  Even when you switch between Dark/Light modes in Automator, it will call the same API that your AppleScript does and change it immediately.  Which makes me believe if Apple didn't make it fade nicely for its own tool, it currently can't be done.