Jerry,
I was thinking about someting like that as well. My concern though is that there will be residual beer in the line after I shut off the ball valve which may continue to flow and overflow the bottle. It is possible that there would be a bit of vacume that may prevent the residual beer...