Absolutely agree and it's (normally) one of the main differences between on-site vs online learning. That there's a ready community of people going through the same thing as you at the same time (usually experiencing the same problems).
That, combined with the deadlines, can be very motivating. (essentially, 'you are not alone').
Udacity have an interesting solution to this. The first run of CS101 and CS373 had strict, weekly deadlines. They are now being re-offered on a self-paced basis.