IIRC this is how cheap green laser pointers work too. They use a near-ir diode and then use magic crystals to change the frequency into the green range. And if the manufacturer is really naughty, they won't put an IR filter on the end to stop you blasting your eyes with any unconverted IR