If you are speaking of the XL series, I have heard of people using them. However, I have also heard that you can get a true weapon light for the same price or less.
I have not used one, but for your question, if you got one that would fit in a standard light mount, I doubt the recoil from the AR would kill it, but this is just my opinion...no factual evidence. Mount it on your 12 gauge and I would change my tune....
If it is for hunting raccoon, or opossum, or for other non-life threatening use, I would give it a try. If you mount it and run through a high round count, high rate of fire and stress course with it and it doesn't die, then I would consider it good for other applications, but I would need hard evidence before I relied on it for HD / SD.