Yes, foreign doctors are eligible to apply for residency programs in the USA. However, competition for these programs can be fierce, and you'll need to meet specific requirements, including passing the USMLE exams.