Yes, there are trusts, called a Medicaid Asset Protection Trust that can do that.  All trusts are not created equally!  There are as many types of trusts as stars in the sky, so any old trust won’t do.  If you have a typical living trust, it does not offer this protection.