Yes.
But after thinking about it, I do not see that the error introduced by different empty weights for commercial kegs is all that big a deal. At most you will be off a 1/2 gallon or so, and that can be easily dealt with. If you run out earlier than you thought, keep a six pack or two of bottled beer in the refrigerator. If you run out later than you thought, decant the excess beer into a pitcher before you swap out the old keg. The most you will be dealing with is around 1/2 gallon.
How about a plywood platform for the keg to sit on which is supported by 3 springs on corners. The reason for 3 springs is the same for a
3-legged stool. You could measure the compression of the platform and usethat to determine the amount in the keg.Since the 3 springs support the entire weight, you would buy the springs with a compression rate suitable for the geometry of your setup. If you have 12" of clearance, then the rate of each spring would be something like 60 lb per 12" of travel (for a total of 180 lb). That way the you would have around 1" resolution to measure the empty keg (15 lb).
This may be easier to implement than appears at first. The plywood pieces are easy enough, and you should be able to get just about any kind of spring you need from an industrial supplier, even if you have to order it by mail. Use conduit clamps to hold the spring in place and mount a wooden ruler vertically on the base to measure the separation.
Put something on the top of the platform to force the keg to be centered. You can locate that center spot empirically with an empty keg - just move the keg around until the compression at each spring is the same. Or better yet, make the platform exactly the same size as the diameter of the keg, so you can center the keg easily. That will, however, require the springs to be perfect in order to achieve a level platform.
Comments, please.