Is it possible to earn credit towards college while going to high school and taking classes at Khan Academy?
Khan isn’t a college and as such doesn’t give college credit. Usually you can earn college credit in HS via dual enrollment. See if there is such a program. You can also earn low level college credits via CLEP exam, but not all colleges accept those.