2 simultaneous voltages from a transformer
It's certainly technically possible, either as two windings (12VAC and 24VAC) or as two 12VAC windings that can be connected in series to yield 12VAC to the common connection  and 24VAC total, or as a 24VAC center-tapped winding.
That does not necessarily mean you will be able to find, off the shelf and in stock, a relatively oddball primary voltage of 380VAC and those relatively common secondary voltages. The likelihood will be different depending on the VA involved, of course.
There's no particular issue in making such a transformer, if and you need sufficient quantity or are willing to pay for a small run of a special transformer, it can certainly be made.