I think a character can be crazy, eccentric off the rails but still needs to make sense. There has to be consistency.
I create characters pulling from people around me, who I see on the street or may encounter in a book or writing of some kind. Creating them, asking what would this character do next.
I may ask a question about myself who would I be if I had taken a different life path and then I will write about that.