Can I drill an socket hole in an axel

I used a box wrench that is a rachet style...

X2. Don't even need the ratcheting type but it makes life A LOT easier.