Yes you can transfer the loan to partnership firm.
There may be a case, when a partner has given unsecured loan to his partnership firm and later on that partner is agreed to convert its loan to its capital. ... A single entry need to be posted by debiting the unsecured loan a/c and by crediting the partner capital account.