Yes, you can take classes online if they are offered.
To search for all courses that are offered online, you can visit the Class Search webpage > select the term > select all subject categories > in Schedule Type select Web Based-Entirely (100).
This will show all courses that are offered online during a particular semester.