No. James Franco did not appear in Grey's Anatomy.
You might be thinking of The Mindy Project where he played the role of Paul Leotārd in 2013.
James Franco landed his breakthrough role in the NBC series Freaks and Geeks in 1999. He made his film debut in 1999’s Never Been Kissed, followed by the 2000 romantic comedy Whatever It Takes.
His performance in 2001's TNT cable biopic James Dean earned Franco a 2002 Golden Globe Award for best actor. Later credits include the Spider-Man franchise, Flyboys, Tristan + Isolde, Milk, Eat Pray Love and 127 Hours, for which he earned an Academy Award nomination for best actor.
Tip! To find the latest updates about James Franco, just visit his Facebook page or follow him on Twitter @JamesFrancoTV.