CHDK and Magic Lantern are fantastic, I really wish there was a Nikon equivalent.
There is, but it's more limited: https://www.dslrbodies.com/cameras/general-nikon-camera-info...