OK then, grab a Raspberry Pi 3B, 4B and Zero, pop open these docs for config.txt, and try and figure out how far you can push each of these tiny machines: https://www.elinux.org/RPiconfig
Really though, the RPi's config.txt is exactly this kind of rabbit hole. I just got a Zero W today and now I'm thinking about if it's possible to underclock it enough to power it with a lemon battery via GPIO.