Controlling a CGA or EGA Screen Using Arduino's GPIO

Is it possible to control an old CGA or EGA screen (precursor to VGA) using Arduino's GPIO? I just want to know whether this is feasible with regard to the circuitry. I already have experience in assembly-language programming. I would appreciate the feed-back. Thanks.

Here's a project that uses an Arduino to drive a VGA monitor. If that can be done, then presumably, lower resolutions like CGA and EGA are also possible.

It's all 5 V!

That makes sense. Thanks a lot.