Yes. There are several ways this could be done, none of them very attractive. Perhaps each cell of the transition table could hold two things: the new state and a flag that says when to push back a character.
But let us push that idea back for another time. Here is a list of topics you may wish to review.