Are scopes on compounds legal for hunting?
Maybe not legalin a few states, but I don't know of any. At least for the most part, the answer is YES. So are red dot sights.
I'm not concerned in the least around a cocked crossbow. It'll just lay there quite content and not do anything at all... unless some idiot starts messing with it.