nope, they cannot. in the real meaning of the words: capitalism protects unlimited capital accumulation and socialism forbids it.
they are at odds.
currently most nations have capitalism, often with some social policies in place (mainly to prevent uprisings).