I don't think so, but why don't you use those to buy something and invest the money you have. It might be indirectly but you will do what you actually want to do
actually since the offers on credit cards are so mesmerising I always prefer multiple cards for most of my purchases and can't use these wallet balance to make payment for the credit card and if I directly use the wallet balance I will lose out on credit card benefits
I mostly use it on online sites like Mama Earth or apps like Country Delight which support Amazon Pay balance. Usually, credit cards give 1% to 2% cashback/reward points on these kind of sites. So, it is not like you are losing much cashback.