For sure, if spent on amazon.
"5% Back rewards or 90 Day Payment Terms apply to U.S. purchases made at Amazon Business, AWS, Amazon.com and Whole Foods Market, if at the time of purchase the Basic Card Member has an eligible Prime membership on the Amazon account from which they applied."...