Keith Laumer did both; in Dinosaur Beach, his hero is a member of the Timesweepers, a group trying to clean up the messes left by previous time travelers, while in Imperium, Brion Bayard fights an alternate version of himself who threatens the destruction of the Imperium.