I'll be honest with you, I don't know.
But here's what I know as a longtime non-audio electronics designer: Measuring of impedances is the classic "hard" problem in electronics, it was, it is, and it always will be.
You need two good fast synchronous measurement ADCs to measure both current and voltage at the same time and evaluate the phases,
you generally need a good shunt (because non-contact current measurement is indicative to put it mildly), the shunt can be just a piece of wire to a speaker of known length and resistance,
you you need a very specific voltage drop amplifier on the shunt (a rather funny and elegant little thing),
and all this must be supported by some program.
Above you were given a link to a "simple jig" for measuring impedance, which uses the obvious "wire as a shunt" technique, and everything else is hidden in the implementation of a wonderful audio analyzer,
Unfortunately, there are no other options.
Fortunately, you can do it yourself, we live in a wonderful time of availability of the most unthinkable components.
But there is also a reality in which such a project is not small, it requires a serious investment of time and effort.
Alas...