Can you install linux and windows at the same time?

You can install them both on the same machine, yes.