No, enrollment in online courses cannot be used to get an Australian Student Visa. Full online courses are not valid and recognised courses to get student visa applications approved. 75% or more of the enrolled course should be delivered offline and in-person for it to be considered a valid course for student visa rights in Australia.