Yes, a hair tie can work as a temporary solution to secure your cords. However, it's important to note that hair ties can stretch out and lose their elasticity over time, making them less effective at keeping your cords organized.