I would avoid this practice if at possible, although it is done in the field more often than most engineers know. A SW x SW 3/4" carbon steel gate valve with standard trim is a shelf item from almost every supplier that you should be able to get on site in 1-2 days.
If you do go this route, you'll need to confirm you have the minimum required SW dimensions per B16.11 after modifying it (wall thickness [as GBToperhow mentioned), socket depth, & shoulder depth), likely by using RT. The cost of doing all this likely exceeds just ordering the right 3/4" gate valve.