Sean Hayes apparently wasn't just acting when his former Will & Grace character Jack McFarland landed backup dancer roles for such celebrities as Jennifer Lopez and Janet Jackson.

A friend of the 37-year-old said Hayes has been approached to appear as a Dancing with the Stars' sixth-season celebrity participant, In Touch Weekly reported in its December 17 issue.

"He's probably going to do it," the friend told In Touch.  "Sean can bust a move with the best of them."

Hayes received a 2000 Emmy award for Outstanding Supporting Actor in a Comedy Series thanks to his Jack character on Will & Grace, which ran on NBC from Fall 1998 to Spring 2006. 

Since then, Hayes landed a co-starring role in The Bucket List with Jack Nicholson and Morgan Freeman.  The movie is scheduled to hit theaters January 11.

Dancing with the Stars Spring 2008 sixth installment is scheduled to premiere on Monday, March 17 at 8PM ET/PT.