You can't transfer miles directly at no cost, but in every airline program I know of you can get an award in someone else's name even if you're not traveling together. That doesn't help with every possible amount one could transfer, but it's often useful for this purpose. If you want to "transfer" a lot of miles, it also gets around the annual limits on direct account-to-account transfers.