Maybe not what you looking for but…
Object > Path > Simplify…, will do the job.
Using the “Preview” and “Show Original” options will help.
Also, in most cases you can go as far as 98% in the “Curve Precision” option, with a perfect result and a great deal of reduced anchor points.
Kind Regards
Bertil