Can you deposit a cheque in your name into someone elses account?

If you endorse it as payable to them it will usually be accepted for deposit into someone else's account.