There's no law or regulation that would prevent a J1 visa holder from getting married.