This is such a fun idea! I also love knitting socks but thankfully am super slow at it so my collection of leftovers isn't too bad yet.
Been collecting a list of scrappy patterns for the day it becomes unmanageable though. A nice lap blanket is a great idea, bet it's really fun to look at these and remember which project each yarn is from :D