Yeah that's not a bad idea. It's still a big context switch to dual boot tho. Also dumping your entire machine's RAM to disk on an SSD seems questionable for the lifespan of your SSD. That's a huge amount of writes, especially if you're dual booting a few times a day. But maybe it wouldn't matter? I haven't measured how much of an impact that would have.
And in my case, it wouldn't work because I need to be able to record a Linux environment but record / edit videos in a Windows environment, so both OSs need to be running at once.