You won't receive credit or a degree, but you can take the same undergrad/grad courses offered by MIT and other institutions online through the OpenCourseWare/Open University projects--and at $0 cost.
Check out the MIT
OpenCourseWare Project, the
OpenCourseWare Consortium or Open University's
Open Learn for free and open educational resources for learners and educators around the world.