Yes. Online courses from an accredited US or Canadian institution will fulfill science prerequisites. However, online labs will not; all science labs must be completed in person.
Community college courses from an accredited US or Canadian school will fulfill science prerequisites. If you are unsure whether your coursework will be accepted, please email the school to review your undergraduate syllabus.
Additionally, courses taken outside of the US or Canada will not be accepted.