Yes, working out without equipment does work. But you won't get much muscle volume if you only do bodyweight exercises. Also, it will take you longer to build muscle if you just do bodyweight exercises.