Short answer:
Yes, but no.
Medium answer:
In real life, we say “I’m the only friend you’ve got.”
“It is I who am” is technically correct, since “who” refers back to the previously mentioned person, for example, “it is they who are (not “is”) coming”. This would be obviously in a more heavily inflected Western European language such as German or Spanish. In real life, native English speakers simply avoid that needlessly complicated construction, and don’t really know what the supposedly correct verb form is. Non-natives, on the other hand, would….
Conclusion:
Forget about “It is I who” — nobody talks or writes that way in the twenty-first century.