Yes. Let H be the commutative group H=F23, where
F2≅Z/2Z is the field with two
elements. The group of automorphisms of H is the general linear
group GL3F2; it has
(8−1)⋅(8−2)⋅(8−4)=7⋅6⋅4=168
elements. One of them is the shift operator
φ:(x1,x2,x3)↦(x2,x3,x1).
Now let T={a0,a1,a2} be a group of order 3 (written
multiplicatively); it acts on H by τ(a)=φ. Let G be
the semidirect product G=H⋊τT. In other words, G is
the group of 24 elements
G={bai:b∈H, i∈(Z/3Z)},ab=φ(b)a.
G has one element e of order 1 and seven elements b,
b∈H, b=e of order 2.
If g=ba, we find that
g2=baba=bφ(b)a2=e, and that
g3=bφ(b)a2ba=bφ(b)aφ(b)a2=bφ(b)φ2(b)a3=ψ(b),
where the homomorphism ψ:H→H is defined as
ψ:(x1,x2,x3)↦(x1+x2+x3)(1,1,1). It is
clear that g3=ψ(b)=e for 4 elements b∈H, while
g6=ψ2(b)=e for all b∈H.
We see that G has 8 elements of order 3, namely ba and ba2
with b∈Kerψ, and 8 elements of order 6,
namely ba and ba2 with b∈/Kerψ. That
accounts for orders of all elements of G.
Let b0∈H∖Kerψ be arbitrary; it is
easy to see that G is generated by b0 and a. As every
automorphism of G is fully determined by its action on b0 and
a, it follows that G has no more than
7⋅8=56
automorphisms.
Remark. G and H can be equivalently presented as subgroups of
S6, namely as H=⟨(12),(34),(56)⟩ and
G=⟨(135)(246),(12)⟩.