My first thought is that pipe threads are tapered, so they seal tight with compound or tape. Works fine in threading a pipe into a fitting, but if you need to bring a flat on your plug up tight to a flat on the horn it may not work well. Threads may come up tight before the flats meet, or if the threads are too deep it might be loose.
If you want to try it, remember that pipe sizes up to 14" go by ID, not OD, so for 5/8 OD you probably want 3/8 or 1/2 NPT.
Dale H