Yes, many Dylan songs were takeoffs or re-writings of earlier songs, and many of his tunes were reworkings or adaptations (and often improvements) of earlier folk music melodies. And in doing so he was carrying on a long and venerable folk music tradition of doing just that.