Yes. You can start a non-credit course and enroll in the for-credit version of that course later. Your completed work will come with you. The process varies by university. To learn the specific requirements for the program you’re interested in, visit the course or degree page you’re interested in for more information.