You can try it if you're in a bike shop with a bored but friendly mechanic letting you measure various length spokes. When you go to replace a spoke, it's a good idea to match them for length.
What are you trying to do here? If you're just trying to get a spare spoke, you'll do better to use one of the spoke length calculators available on-line with the rim and hub information.