You can use your Raspberry Pi with different SD cards and thus different Operating Systems in turns. Obviously you will have to power down the Pi and physically change the SD card first but other than that there is no problem with this approach.