That's called auditing. People can go to the classes, but they don't have to write papers or take exams or get graded. I'm not sure how to do it when you're not enrolled at the college, but there must be a way.
Or you could come in and sit at the back. There are usually empty seats. Some students don't attend classes.