Absolutely, why not? Age is no barrier to learning to code. I started with HTML at 12, and a few months later CSS finally clicked for me. Before long I was dabbling in a bit of PHP too.
My advice is to keep experimenting and be patient with yourself, because it all starts to make sense with practice.
Hope that helps!
~Sarah