24ac signal

You could probably eliminate three of the diodes because half-way rectification would be adequate in this case.

Yes we could, all we need add one electronic capacitor at output half-way rectification.

or use this

since we face 24V instead of 110V, cap could be droped.

second one use Optocoupler with AC Input.