Yes, they will work. You will have to verify they are tapped to the 120v lead wire. Most of the time, if they come from a commercial building, they are wired for 277v. Open up the box on the top of the light, and the lead wires should have a small tag on them stating what wire is for what voltage. Change it to 120 if it is not, cap off the remaining wires and get growing. If you do not see tags, you can look at a couple of more and verify the proper wiring that way as well.
Peace and Great Grows
Asmallvoice