To do what you're asking you have to purposely shoot in front of a green screen to start with. You can use Chroma Key in Vegas to replace that with what you choose.
Technically I think you can accomplish the same thing to some degree with almost any solid color background. Bright green just works best for digital video. It used to be blue for regular film.