Yes, we used to do that, back in the dinosaur (286-486, DOS and Win3.1) days.
“Have you tried turning it off and then on again” became such a common response to Windows 95+ being kind of crap that they started to include the option for convenience.
Nah, back in those days PCs even had a RESET button. So even when it was trivial to turn it off and on again, there was still a designated button to restart the computer.
Not the ones we had at my school and home in the 80s. Nor the outdated DOS machine I inherited to write school essays on when my dad got a new Dell with Windows 95. Just a power button or switch, depending on the model.