No, if your name is not on the account, her bank's computers may refuse the electronic direct deposit.
In that case, the funds would go back to the IRS, and they would mail her a check to the address on her return, which could take several weeks.
Best not to risk it.
@anewland45