Is “in the summer” an online course or an actual in-person class with extended hours each day?
Math courses build on each other more so than most other subjects. An accelerated online course seriously risks a lack of fundamental learning/understanding that’s critical to future coursework.
I wouldn’t recommend it.