Can I make a circuit that work on either 220VAC or 12VDC from the same input?
MXHV9910 from IXYS will run on 8-450VDC:
https://www.ixysic.com/home/pdfs.nsf/0/713EA18902B59CCF85257566004FAD55/$file/MXHV9910.pdf