My kids high school does the same thing with a local community college. IMO, it is worth it if the school your child will attend accepts these credits. Most of the highly ranked schools do not accept the credits that are obtained while being taught at the high school. I literally sent emails to a group of local colleges that have the program my youngest daughter is interested in along with the class codes from the community college to find out which classes if any would be accepted. Most of her courses going forward will be accepted so I will decide at the time if it is worth it etc on a course by course basis. If you can reduce a semester of tuition or allow your student to take higher level courses earlier or now have space to double major it seems like a benefit. I did pay for one of her classes this year.
For my oldest, having credits from AP and duel enrollment helped her get a double major and graduate on time.