Can I make a contribution to my 401(k) for my spouse?

No. But most likely you can make an IRA contribution for your spouse.  See the FAQs on IRAs.