Yes this is a flywheel dyno, similar to the Fantom Facts Machine Dyno.
It calculates the energy ie power required to accelerate the mass.
There are other methods to apply a load to a motor ie a fan, slave motor or a brake.
Each have there pros and cons.