My father (a high school teacher for almost 4 decades) used to say: "I can't stop an advanced student even if I wanted to--sheer boredom will propel them to do something." For him, dealing with an advanced student was the easiest thing in the world and took practically no effort--a little extra work with a slight bit of focus and they're off and running. At that point, he could practically forget about them until they raised an interrupt.
My own personal experiences in school also reflect this. Most of my teachers forced me to turn in "normal" homework, pointed me at something more advanced, and let me at it while occasionally checking in on me or offering advice. Sure, they did this so that they could get me off their plate to focus on someone else. But, to be fair, what they had me doing is also the essence of learning--self-directed engagement with an unfamiliar knowledge base via intrinsic motivation.
And, to be fair, if your "advanced" student can't operate in that regime, are they really that "advanced" after all? Far too many parents think their children are "advanced" when they are merely a touch above average and really do fit inside the "standard" curriculum.
The real problem in high school is motivating average to below-average students who want to be anywhere but in class. Video games, hanging with friends/dates, vaping/CBD, etc. is way more compelling than anything having to do with school. Getting through to those students is difficult and has very little to do with the curriculum.
The biggest irony is that the same people who preach that there are intrinsic differences always seem to forget that concept when it comes time to hire and pay teachers. Funny that.