I needed long screws for a project. The use of coupling nuts was not possible due to lack of space. The only option was TIG welding of a screw on a threaded rod.
So: Make a mold and start producing. Material: 304 stainless steel. See the following video: