Yes, From 24V ... 230VAC DC to 24 or 12Vdc. Is a multi-tension switchmode power supplay type.Sounds like you want a Buck type psu for 24V to 12V if you want to input 240V AC then your'e looking at a switchmode type.
So you can have a bridge rectifier that will take either an AC or DC input and build a buck converter to output 24V or 12V. There are safety issues involved with constructing an offline supply, but other than that what you want seems doable.Yes, From 24V ... 230VAC DC to 24 or 12Vdc. Is a multi-tension switchmode power supplay type.
I found the LT8316 but it appears to be for Current most elevated.