I've wanted this for some time, too. And something like this for airplane mode as well, since I don't use a SIM.
One problem I can imagine is that sometimes (museum, nature, holiday, etc.) you want to take a picture or video every few minutes. In such situations it may be quite annoying if the camera/microphone turns off automatically.