While stacking software will align a number of very short shots, you are most unlikely to get enough light to get decent base images, unless, say, you are shooting Milky Way images with something like a 14mm lens. That would enable something like 25 to 30 second exposures>
For galaxies, nebulae and other deep sky objects, to get enough light you will need to do at least 30 second shots, but with a longer lens (say 135mm plus) this would give unacceptable star trails.
The solution would be to use a tracking mount, such as the Move Shoot Move rotator, or Sky Watcher Star Adventurer tracker. These rotate at the same speed as the Earth (one complete rotation in 23 hours 56 minutes and 4 seconds). Once you have aligned with Polaris (in the Northern Hemisphere) or the South Celestial Pole (in the Southern one) you will be able to take exposures of up to 2 or 3 minutes without star trails.
Astrophotographers will often take 50 plus shots, which are stacked and then post-processed. This maximises gathering detail from dark areas, without blowing-out the highlights, while keeping noise to a minimum.
The only problem is clouds!