Repurposing old hardware for Network Switch: Is it viable?

Repurposing old hardware for Network Switch: Is it viable?