Many multimeters measure hFE.
You can measure it if you limit the maximum collector current with a collector resistor, use a calibrated regulated power supply then use a base resistor that is accurate.
I use BC547B transistors because their range of hFE is selected in a narrow range and the 2N3904 that also has a fairly narrow range of hFE.