Yes, the Rainbow apple is a real, though somewhat rare, apple variety.
According to historical records, the Rainbow apple was a Missouri apple variety sold by Stark Bros. Nursery around 1900. It was also listed by a Virginia nursery from 1898 to 1901 and described as a dessert apple. It was at one point thought to be extinct, but was rediscovered.