I don't see any reason you couldn't. The only negative I can think of is that it may not hold it as closely as an actual light mount depending on the ring height. But if that's what you've got and it works then I don't see a problem.
U have used scope rings as flashlight mounts in the past. They didn't put the flashlight on the optimal spot for me, but it worked just fine until I did get a better mount.