I've got a friend who almost exactly met your description a few years ago. He moved into technical sales at a midsized SaaS startup and its been a good fit. If you're technically inclined enough to write even hacky code that works, you can probably wrap your head around a companies software product enough to do technical sales.