i've trained for a half marathon while commuting ... but i take my bike commute pretty easy; i don't crank it too hard so i still have energy (and muscle strength) to do my runs while training. i did my longer runs on weekends.
now my job sucks up too much of my energy and it's the best i can do just to get on a bike and ride the 8 miles each way.