Considering I know someone, personally, who also made a scientific advancement at a young age, yes, it is possible.
They taught themselves python, then how to inference and train machine learning models, then used image recognition models to detect their sister’s illness, which had visual signs.
They had to get help from someone with a phd to test this on a larger scale, cuz resources, but I absolutely believe a middle/high schooler could do it.
US student, 14, wins award for developing soap to treat skin cancer (www.theguardian.com)
Heman Bekele was inspired by Ethiopian workers laboring under the sun, and wanted to help ‘as many people as possible’...