That's the ideal scenario. Unfortunately, if you are looking for the best quality possible and at very faint signals, there's a practical "but". The problem is sensor temperature. For longer exposures, dark noise becomes the dominant factor and, as a rule of thumb, is expected to double for every 6 C.
The typical astronomy workflow includes flats, bias and dark frame subtraction (calibration frames are actually averages of multiple darks, bias and flats because they also suffer from noise, noise in the noise if you want) but the sensors are thermo regulated and the temperature information is stored in the FITS header (FITS are raw files for astronomy purposes). Software such as Maxim keep libraries of dark frames and can even scale them for temperature variations if you don't have the correct calibration frames, with variable results.
For photography, as long as the temperature doesn't change drastically, a single dark frame can probably provide good results, equivalent to what the in camera single dark frame substraction provides, with significant time savings compared to taking a dark after each shot.