Is repeatedly pitching an aircraft up and down to help it lose its energy quicker a viable landing technique?
No, that kind of landing technique is too risky and dangerous.

You’re most likely to just exchange kinetic energy for potential energy, gain altitude, then slam into the ground with the aircraft exhausted of airspeed.

Also it’s superfluous, considering that a properly managed approach on glide path and airspeed will accomplish pretty much what you intended to do with your proposed landing technique.  A stabilized approach and entry into the roundout will result in the aircraft exhausted of energy and settling onto the runway once the power is pulled to idle, with little float.