Evil spirits or Youkai can originate from pretty much anything. Be it Oni, dead Oni, gods, dead gods, humans, dead humans, animals, dead animals, objects turned into Tsukumogami, etc. Even the spirits or feelings can turn into Youkai, and I believe there was one type that originated from dreams and others from kid's imagination, paintings... yeah, pretty much anything.