Can I drill an socket hole in an axel

I think that flange is plenty hard though.But if it was pissing me off on my car I would at least try it.