No. Compound is not a compound word because if you try to separate it, you would get com & pound. Com is not a word (the com in a website does not qualify as a word).
Yes, the word peacock is a compound word made from the words, 'pea' and 'cock', which is the male of the species. The female is called a peahen; they are peafowl.