Yes you can, the installer should skip what is already installed… unless the package names are different.
If you are new to Linux, i would not suggest this route as you will most likely have problems.
The easiest and most straight forward Distribution to use is Ubuntu.