In a word, 'No' they are not the same. They are different in many ways such as the number of players on each team (Rugby Union = 15, Rugby League = 13), how many points are scored for a try, the rules around tackling are different, etc, etc. Both are very similar when it comes to the betting markets available but in terms of the game itself really the only similarity between the two is that it is played on the same pitch.