It's not recommended because if you use someone else's bank account for a tax refund most banks won't allow it and will reject the IRS deposit. Please see this TurboTax FAQ for more information:
https://ttlc.intuit.com/community/refunds/help/can-i-deposit-my-tax-refund-into-someone-else-s-account/00/26029