Possible to switch to premed with only two years left?

Hi all, I’m majoring in CS and math right now, and I’ve always had the thought of switching to premed but tossed it away every time I dive deeper into it. Recently, though, I’ve been feeling that CS isn’t the right path for me, considering the volatility of the job market and a multitude of other things. I’m wanting to switch to premed with basically no pre-reqs done besides chemistry lab (most of my gen ed’s were tested out with AP). Would it be too late?

I’m planning to do summer classes and basically cram all the prerequisite and recommended (biochem, genetics, etc.) courses my junior year, begin studying for the mcat my senior year, then take a gap year. Would two years be enough? I’m still finishing my CS and Math degree because I only have a few more classes left for both majors.