Correct me if I'm wrong, as it's been a few years since I've seen AMCAS, but I believe you have to check a box in the course entry if a course is taken online. Of course, if it doesn't show up on your transcript that the course was online, there's no easy way for AMCAS or schools to know, but that's up to you if you want to lie.