Yes it is a very good and simple idea
I do not know how thick the Lego-blocks are, I guess the smallest appr. 5mm - means with this you can produce levels in steps of 5mm correctness.
=> if more accuracy is necessary you could produce a simple wooden block and cut it to the correct height