For me it would depend on how good the cycling infrastructure is on the route. I'm not keen on riding on busy roads in the dark. Actually not even when it's light.
I used to do 40 km each way occasionally when I lived in Holland, including in the winter and in the dark but it was all flat and on separate car-free cycling paths. Like that it was enjoyable but I still wouldn't do that distance every day.
Here I did North Shore to downtown a couple times a week for a while, ~15 km each way and mostly car-free (Spirit Trail - Lions Gate - Stanley Park - Seawall). Perfect distance and one of the most scenic bike commutes in the world.
I would probably want to try out the route a few times to see if I like it before making a decision .