Most Marvel characters sit on one side of a line: Reed, Tony, and Banner on the science side; Strange, Wanda, and Agatha on the magic side. Doom is at the top of both, and the comics never treat that as strange.
I think the reason is that Doom is written, knowingly or not, as a Renaissance magus. Agrippa treated natural, mathematical, and ceremonial magic as one body of knowledge. John Dee was a mathematician who spoke with angels. Newton wrote more on alchemy than on physics. Keynes called him "the last of the magicians."
Add the Faust legend (a scholar, a bargain, and a mother's soul in Mephisto's keeping) and you have most of Victor von Doom before Lee and Kirby drew a single panel.
I made an eight-minute video essay laying this out, from Fantastic Four #5 through Triumph and Torment and Secret Wars. Full disclosure: it is my own channel, and it is the first video on it.
https://youtu.be/jWah97TV65Y?is=esP2ZWH3agxUraxE
Which Doom story makes the best case for or against this reading?