Some libraries have systems where you can put a book (or any other media that the library has, which they allow to be checked out) on reserve, and you get notified once it's available. However, that doesn't fix the fact that the concept of "returning" an ebook is not very well-defined, because of the ease of copying/cracking digital media.