Yes. A complex sentence consists of clauses linked by coordination - and, or, but. eg She likes ice cream but Micheal doesn't like sweet things. simple subjects She and Micheal
(Note that the meaning of "compound sentence" is that it has two independent clauses, or thoughts. It has nothing to do with whether a sentence has more than one subject or more than one...