No credit card required
Browse credit cards from a variety of issuers to see if there's a better card for you.
Can you do this to get the 5% cash back and then use the cards at Walmart or Target?
You can do that - problem is the 5% cash back does not make up for the aministrative fee they usually charge you for the gift card. If there is no fee for the prepaid card then it would be a deal.
You can with Amazon or store cards which usually has no processing fee associated with the purchase.