Summer Science courses are OK to do.... Whether or not the medical schools are going to know that it was "accelerated" depends on how much the med school investigates or takes time on knowing how your school handles summer classes.... I'm sure, though that many medical schools would care much whether or not you do sciences courses in the summer or during the normal school year.
The most important part is to just do well in them 😉
Good luck 😎