For vendors that support it, yes this works. I think there’s a wiki for it somewhere with a list of those who do.
This is the sort of thing keeping me on plus though, the virtual cards, keeps my online numbers totally separate from the physical card.
Edit: not a wiki, but I think I’m thinking of this: