2. was done in britain a long time ago. They just uncoupled cars at the rear end and braked them down to intermediate stops; the rest of the train continues. (Ok, no bypass.)
Unfortunately the inverse operation isn't as easy, and it's an expensive operation, too.