Do you get an rbi if you steal home?

No.

You are credited with a stolen base and a run scored, but neither you nor the batter is credited with an RBI.

It's the same way with scoring from third on a wild pitch, a balk, a passed ball, an error, or a double-play: no RBI is awarded.