Why don't you start thinking and also working on what you exactly want to do on the side, and solidify your plans once you feel confident enough to make the jump? The transition does not happen overnight.
But, yes, I definitely feel you will really have a chance to learn more in a start-up, since you will essentially juggling various roles, especially in the early days.