>>9114028you can but it's expensive as fuck and generally not worth it. it's called the dynamic range of the camera. if you take a picture of a room with a smartphone camera, you might notice that the darker parts are way to dark and the light parts are way too light. this is because cheap shitty cameras can only take a small "slice" of the total light enviornment AKA they can only really select one small range of brightness to view, and everything lighter or darker appears all fucked up.
the human eye has a very high dynamic range than most cameras, hence why with your eye you can see the detail on the moon and stars just fine at the same time, but with cameras they generally have to select either the stars or the moon because everything inbetween would look shitty.
pic related is an example of low dynamic ranger vs high dynamic range.