I am not an expert on this but, yes, I think it can be. Here's why:
Anyone is a pronoun.
Any is an adjective, determiner, pronoun or adverb.
One is a determiner, a number, a person, a thing, a noun, an adjective or it can be used as a pronoun.
A further example: The noun bittersweet is an exocentric compound, since it is a noun but its elements are both adjectives. (But, yes, bittersweet can also be used as an adjective!) [Example borrowed from dictionary.com]
The compound word for someone who looks to see if anyone is coming is "lookout."
The contraction (not a compound word) is doesn't.
The word respectful is not a compound word.
No, "nearby" is not a compound word. It is a single word formed by combining "near" and "by."
The compound word is "disjointedkeyboardappealinganother."
It is an endocentric compound ;) It's a kind of yard where there are graves
endocentric
Exocentric
exocentric
Anyone is a compound word, consisting of "any" and "one".
mainstream is exocentric
In an endocentric compound, one element is the head that determines the category of the compound, while the other element specifies the meaning more precisely (e.g., 'blackbird,' where 'bird' is the head). In an exocentric compound, the meaning does not rely on one element to determine the category, and the compound's meaning must be derived from outside the compound (e.g., 'pickpocket,' where the compound does not fit strictly into the category of either 'pick' or 'pocket').
anywhere, anyone
anything anyone anywhere
The compound word for someone who looks to see if anyone is coming is "lookout."
anywhere anytime anyone anything
someone, anyone, everyone, oneself, onetime