Yeah, a general attached to a unit of triarii would be perfect IMO. That way you can still hire mercs and build forts. There should be a morale penalty for such generals though, so it's still beneficial to add a family member to the stack (the stack should have by default 19 occupied slots for this purpose)

The only annoying thing about that would be that the triarii would dissapear if the general dies.