There's no real problem with dropping the hydrometer into the primary that I can see, as long as it's properly sanitized. A spray bottle of Star San would work, or make a small batch of sanitizer solution in a mixing bowl and let it soak for a couple of minutes. Be sure your hands are sanitized as well, because your fingertips will likely touch the liquid's surface at some point.