Yes u can install two operating system on your computer like a multi boot system. Make sure that every operating sytem is on an own disk partition. With a boot manager you can select which operating system u want to start first. Just google for “multi boot system windows” on google and u will find a lot of instructions for different operating systems (Win 8, XP, Win 10, Vista, …)
It is also possible to install the second operating system on a virtual machine on your computer.