If you were clever and had a slow measurement allowed,
an electrical-thermal scheme would work across a wide
range of duty cycles / crest factors and so on. This seems
in fact to be what is done for RF power meters (high enough
frequency that active processing is not reliable for high
accuracy).
You'd have a "heater" resistor, a close-coupled (thermally)
thermistor or temp sense diode, and a well characterized
thermal path (maybe a second thermistor in a bridge to get
a delta-T (equals power). Getting back to volts would need
a square root.
Cheapo voltmeters do RMS conversion with rectification
and a 0.707 scale factor but this only works for sinusoidal.
"True RMS" meters are more elaborate.