No, StarCraft II is not an RPG. It's a Real-Time Strategy (RTS) game.
While SC2 has story and unit upgrades, its core is undeniably RTS.