Yes, Duke Ellington and his orchestra were the house band at the Cotton Club in Harlem, New York City, from 1927 to 1931.
It's worth noting that while they were hugely popular and well-known for their performances at the Cotton Club, Ellington and his orchestra also played many other venues during that time.