Yes, you can use a vanilla gift card on Xbox.
There are a few ways to use a vanilla Visa gift card on Xbox. The simplest way is to enter the code at the checkout screen when you purchase an Xbox game or app. You can also use the code in the Xbox Store on your computer.