Macromedia Flash had the option to turn a line into a 2 dimensional vector ... really useful when you want to change a single colour line into one with a vignette or blended fill.
This already exists - 'convert outline to object' control + shift + Q
This already exists - 'convert outline to object' control + shift + Q