transformer - can it also be connected to 24v ac
Yes.  If the transformer produces 12 V from 230 V, then it will produce 1.25 V from 24 V.  It will be grossly overspecced for 24 V in, so will be heavier and more expensive than at transformer intended for the same 24 V in at the same power level.