No. You're likely thinking of Daniel Craig in Enemy (2013, dir. Denis Villeneuve). He plays Adam Bell and Anthony Claire—two identical men whose lives intertwine in a psychological thriller about identity and duality.
Rocky Carroll was not in this film. The confusion may stem from both being Black actors in prestige projects, but the dual-role performance is Craig's, in a very different film from anything in Carroll's filmography.