Yes and no. As a minor, you cannot legally enter into a publishing contract, including the contract for self-publishing. So a parent or guardian would have to sign on your behalf.
The other drawback is somewhat more hurtful, in that nearly all young people, including the bright, creative, insightful good writers among them, lack the life experience needed to write a good book.
That doesn't mean you shouldn't be writing books now. It means you should be writing them as a way to master the craft, not with the goal of publication.
Yes, of course there are exceptional young writers whose work was commercially viable at an early age. (Don't anybody say Christopher Paolini, who had scads of parental help.) But are you that rare young writer? I'm sure you'd love to be, but you're probably not.