This question already has an answer here:
In another question on SE aviation I read that certain aircraft have load sensors in their undercarriage to calculate CG. Which are these types?
The technology to build load sensors into the undercarriage is available and it appears that a few planes are equipped with it.
PS. I don't mean just the weight on wheels sensor which is more a switch than a measurement.