There are a few possible responses to your question but it depends on your personal circumstances. And yes, realistically if you want to be an engineer you need to accelerate your math trajectory. What type of engineering?Have you reviewed requirements for entering these programs? I’d would be surprised if AP Calculus AB was enough.
Online math classes can be excellent, very rigorous, and definitely give you everything you would need. AOPS and CTY are two rigorous methods. So can in person accelerated summer courses. (I took geometry in the summer during high school because I opted out of the accelerated track and regretted it.)
But… a lot of kids who take these sorts of classes and do well in them do it because the pace of math was too slow, they had a genuine interest in math, etc. Often times Mathy kids both accelerate math classes and do math enrichment. Some school districts offer a compressed math option so you speed through content more quickly. Some kids tolerate a lower math placement and do outside work on the side. DD11 is taking Allegra I as a 6th grader which is the most advanced pathway offered to a small number of kids at our large public school. She is good at math and enjoys it enough to take pre algebra through CTY BUT I wouldn’t even call her a mathy kid.
So, figure out why you are interested in a math centric field? Have you been interested in math in the past? Do you like it? Why did you not enter an accelerated pathway before? It offered? Struggled before? Not interested? This might predict how you will handle the class and wether you should take it.