No, XM prohibits deposit from third parties.
The third parties also include legal partner, family, corporate owned and etc.
If the name of the bank account and the trading account are different, you are not able to deposit or withdraw.
If XM finds out that you have used third party account for deposit, the fund will be immediately refunded.
For more information about deposit and withdrawal for XM MT4/MT5 accounts, please contact XM support team.