There are only really 2 reasons to have lights on your tank at all.
1 you have real plants which need light - then the usually accepted photoperiod is about 8-12 hrs depending on a series of factors, but you wont go too far wrong with about 10 hours for most set-ups
2 you want to see your fish move around.
If you dont have real plants, then you only need the lights on when you want to see your fish.
As you say most fish would probably prefer a tank without artificial lights since most of them would tend to inhabit shady waters in the wild.
There is a much more important third reason, too. Fish need Vitamin D, just like people do, and the primary source for Vitamin D is self-generation which is stimulated by light. No light, and the fish don't generate Vitamin D. People get the disease called rickets if they don't get sunlight, i.e. a Vitamin D deficiency. I have no idea what fish-rickets are, but they cannot be good.