Generating a VGA signal is trivial for this powerful chip. Entire retro game consoles have been built with similar ATmega chips alone
Ben Eater is building a VGA card from discrete components, a somewhat more difficult task. The first part covers building the H/V timing sync circuit (no programmable clock source here!). It's worth taking a look if you're into this kind of thing.