Can you will interest to your heirs in a tenancy in partnership?

No. A tenancy in partnership is like a joint tenancy. If you die your interest automatically passes to the other partners.