i'd say you probably will need a good guitar teacher or to take theory courses. there is a lot to learn, but learning it in small bits helps you to digest everything.
while it is all very good to know and i'd recommend learning theory to anyone, it will definitely not automatically make you a good player and it won't necessarily help you with songwriting. theory is basically just analysis and notation. it breaks down the building blocks of music into a language so that we musicians have a universal way of speaking to each other about music. i never sit down and use theory to write music. but i may use it to analyze a complex
chord progression so i'll know how i'll want to approach soloing over it.
and while you'll be more knowledgable about music in general, the only thing that'll improve your guitar playing is practice.