It will almost definitely work. The only problem that I can think of would be if you are trying to use a Sram 1:1 mtb derailleur as they require a lot of cable pull and might behave a little funny with a standard shifter.
Any other derailleur will work perfectly with your friction shifters.