I think that the starter relay for the '81 and later model year bikes might be quite specific to BMW motorcycles.
There is a diode in the starter relay to prevent the neutral light from coming on when the clutch lever is pulled in to shift the transmission.
If you remove the starter relay, you will see numbers like 88a, 87b next to the pins on the bottom, this is a SAE standard configuration for relays, if you can match an after market relay that has the same numbers at the pins and pin orientation, it may work, as long as you take the relay cover off and solder in a diode, a 1N4001 or similar diode will work if you need to get one.