Running a second installation

Is this possible? I’m currently on Windows, but I wanna switch to macOS soon, and I wanna make sure that my setup if transferable. It seems that there’s nothing akin to the portable mode available for Windows…