Earlier quoted context omitted.
In a way, yes. For me, using light-themed software for a prolonged period causes my eyes to strain and my head to ache. Sure, they do so to a very little extent, but the uncomfort is often distracting if not tempting me to slack off. So for me, yes, dark themes help me get in the zone much easier. But of course that has very little to do of the colors scheme itself.
I also get a somewhat soothing and focusing effect when using a dark theme, especially in a room with dim lights. But what absolutely destroys the experience for me is when I have to look something up on the internet and end up on a page that doesn't honor the browser's dark mode. The switch between bright and dark is extremely jarring.
No such luck however with design tools where changing the theme can't be an option.