That can be done on a lathe as what's called single point internal theading. I have yet to do any of those mostly because of only having a mini lathe. The largest diameter that can go though my chuck is probably 5/8 or so since it only has a 3 inch chuck for now.