Joshua 5:14-15 ESV

Just wondering if this commander might be a theophany of the Jesus. After all, Joshua bows in worship and is not rebuked, which suggests he is worshiping a member of the Godhead!