You can have you legs wider on a bench (if you straddle the bench). The difference is that those who do box squats tend to/want to have a box that is a custom height. With gym equipment, you have to make do. Also, the box is big enough that they don't have to worry about missing it when they sit back.