Is it possible to change a manual transmission in a 2004 Honda civic to a automatic?

Yes, you'd have to find the stock automatic transmission for your year and engine size, the stock automatic brake pedal assembly, and miscellaneous small things like transmission fluid, the transmission dipstick tube, linkages, etc.