Might need to narrow axle housing

I have a question about axles. If you are going to narrow the housing do you need to find an axle and narrow to that width or can the axles come in or be modified to any length? Does that question make sense?