Only if you have TMs to spend. I do think it is worth it to have at least one good rock pokemon. No need to get too crazy as you will need teammates for the raid bosses and they will have more than 1 counter.
I would also consider your Tyranitar situation. I am going to max a SE one out before I put anything into a Golem because he will be useful against several Legendaries