Being capable of doesn't make it the primary role. Yes the F-22 can drop a few bombs... but that's the problem.. a few. It doesn't have the load capabilities or external pylons (without compromising it's stealth entirely) to carry significant munitions or preferred role-specific munitions to be really effective in CAS or ground attack. Nor is it's cannon a comparable replacement for the GAU-8.