Yes. As long as they are completed through a regionally accredited institution and satisfy content, credit hour, and lab requirements, online coursework can be acceptable in fulfilling prerequisite requirements.