Yes, I learned openings early too.
Then I learned some tactics, middlegame, strategy, and endgame.
Then I learned some more openings.
And some more tactics, mid-game etc.
What I didn't do is buy 5 openings books from everyman chess and read them for years without improving my rating or play...
I actually learned openings first (Italian, Ruy Lopez, Semi-Slav). I'm doing quite good nowadays. Experimenting with them was quite useful in my experience.