Yes, you can. You’ll need to have three metal bars and a blowtorch in your inventory to craft the wire. If you have the necessary resources, simply look up “wire” in the crafting menu and select it to create some.