Yes it is possible and there are a few way's to do it basicly you will create a tempo map using either the guitar track or-
What I do is play along with the guitar track hitting a downbeat using a hi hat and get it close. Convert that into an audio track. I then use audio snap to draw the tempo map, this is a pour explanation, sorry but I gotta run. Read up on using audio snap or melodyn I guess might work too though I haven't used it yet.
Also consider finding a drum beat that fits your song first. I find it hard to use the metronome too, so I do 80% of my songwriting using simple drum machine type patterns I have saved.