Yes, you can, as long as you meet the prerequisite requirements and that the course is not full, you are eligible to enroll. Nevertheless, 4000- level courses are mainly seminar classes and in order to optimize the discussion environment for students, the class size is usually kept smaller than lower level courses.