Yes they do. I've had some forts attacked by the enemy (for instance Gauls who attacked/besieged a fort in the mountain pass at the west of Mediolanium).

Haven't seen them attacking forts often though, but that may be related to me not building forts often.