Thank you for the merits!
Thanks also for the suggestion on the youtube video. What I was thinking is to make such a template on my cnc machine to hold the board perfectly straight then program the CNC to go over each IC and make it perfectly
smooth. This will require a few days to get it right, but will allow saving a lot of time and make perfect job in the end. Maybe will do in the future and make a video of the process as well.
this will be risky as hell, i assume you talking about cnc router and not laser since you want to use it for cleaning the IC's ! . setting a perfect Z point on your cnc with 0% room for error is nearly "impossible". you will need a 100% flat ground " maybe take an MDF sheet and perform an area clearnce with your end mill to get that flat surface" , but then again i doubt the accuracy of your cnc will be safe to try and risk the IC's. philipma1957's idea of making a format for cleaning would make more sense, but you will need a laser cnc to do that. it will take sometime to set up perfectly, but will make your job much easier when sanding those ICs.
should you decide to go for one , i can help . i have a tremendously good experience working with cnc machines.