Younger audiences may not remember, but yes: major card providers used provide virtual card numbers back in the day.
This is a feature of the past, and most providers don't do it anymore. The only one I know of is Capital One's Eno: https://www.capitalone.com/digital/eno/virtual-card-numbers/