We started doing this when I was working at Cisco for a CI system - rack servers with 768GB of ram and tmpfs as instance storage for Openstack servers. It worked pretty well.
If you have 16GB, which is normal for high-end laptops these days, then you already can.