Despite what I’ve read about rainbow sharks, my shark’s tank mates are cichlids: Electric Yellow, Yellow Tail Acei, Pearl of Likoma, Eureka Red Peacock.
The cichlids chase one another occasionally but leave the shark alone. The shark leave the cichlids alone, swims among the cichlids and is quite active during the day.
Having said that, if I were to start again would I have the shark? No, I wouldn’t. And I would never have 2 sharks in the same tank, no matter how big or how long the tank is.
Note that the sharks are good tank mates with all tropical fish when young, but it won’t take long before they become aggressive. Experiment if you wish, but be prepared to move it out to its own tank, and it won't swim much when alone.