Friction shifters will work with ANY rear derailleur. Indexing is in the shifters and the derailleur just follows orders.
In fact, with the exception of pre-9-speed Dura Ace, all Shimano rear derailleurs will index properly with whatever number of speeds the shifter has to offer.