If you have a receipt from a VAT registered dealer showing that you’ve been charged VAT, then assuming you’re a fully taxable business then yes you’ll recover VAT the same as you would with materials.
If you’ve bought second hand there’s no guarentee that you have been chaged VAT though, it might be sold under a margin scheme which would mean theres no VAT recoverable by you, but the receipt/invoice should tell you that.