Yes. There's no reason you can't as long as it's yours and you have the 3 digit code, 16 digit number, and there are funds on it. You may need to add the card before using it, but it should work fine. I have used different prepaid cards over the course of my time with tmo.
Manage your T-Mobile account