I have suspected femoral hernias and am due to have keyhole groin exploration and repair. Will I be able to get a six pack still afterward?

You will be fine. You will be fine , with in couple of wks you can resume progressively your exercise schedule , why six pack , you can get eight pack abdomen, if you don't you will be drinking six pack and will get pot belly !
Only if you really. Work hard at it. Just joking. A femoral hernia repair, once healed completely , should not prevent you from any exercise or workout. It is much better than having a hernia and not having it repaired.