It depends on whether the output is AC or DC and what stability is required.
A simple solution for a 'dirty' supply is to use a simple old style battery charger with a big capacitor on the output. You will get DC at more than 12V.
The difficuty in building your own supply is boxing it up to be...