Hi,
You have left out a bit of detail here and without the specifics, I don't know if it will work. The indexing will work if you are using a compatible set of levers, rear mech and freewheel. Usually that means that they are all one make etc although it is possible to mix and match sometimes. I suggest you try it and see but ensure that the limits are set to avoid damaging the rear mech. You can usually change the index function to friction by turning the screw on the outside although I could not say for definite that this is true of all indexed levers.
I hope this is of some use, more info would help,
Richard