Community college to start is a great idea. Be aware that one or two CCs work differently – if you live in NYC for example one called Guttman will not take students who have completed college courses elsewhere. They want students who are starting college for the first time, because they have a special, supportive program.
All I’m saying is check your local CC to see how they operate. The vast majority allow you to take one or two classes and then either stop or go on to complete an AA degree, or transfer. You can check out your local CCs and their cost and grad/transfer rates using COLLEGE NAVIGATOR, a government website.