There are countries with 7 year programs. 5 or 6 is more common. But some of those require an extra internship year before residency (which may be optional).
But you’re forgetting the part where the US doesn’t have a national high school curriculum. So a direct high school to medschool pipeline in the US would definitely include a year or 2 of general education.