It is easy to convert cup and cone bearing hubs, like Shimano. You just get a new rear axle of an appropriate length and threading. When you are dealing with cartridge bearings, they will often have a hub specific axle with machined steps to retain the bearings and it will not be possible to source a threaded axle to do the conversion.