I struggled a bit in my formal CS education, also for a number of reasons, though I did make it to the end. I often like to preach about code being a medium that can be flexed in a lot of different ways. It's totally valid to enjoy programming, but hate the academia side of things or to hate doing it as a job/career (and even that can vary job to job).
If you're interested in creative side projects, there are programs out there that have creativity-focused approaches to programming/code. I've taken several classes through
(you need an account to see links) and they're a really incredible program. There are also spaces like Pioneer Works in Brooklyn and Grey Area in San Francisco. If you're self-motivated for things you actually care about, something like the
(you need an account to see links) might work for you.
Sorry if throwing a bunch of organizations at you isn't helpful, I sometimes struggle with motivation even when I care deeply about something these days, but I will say that looking at shit that inspires me helps.