12V Demux

Would this be able to be used for this purpose?

Yes but you have to have a 12V power supply to drive it and also give it a logic supply of 5V.
However it depends on what you want to do with the output voltage once it is output. It is a 20K pot so you are not going to be able to actually power anything from this signal.