Yes, Rodrigo played for Spain in the 2018 World Cup. He played in all three group stage matches, scoring two goals against Iran. He also played in the round of 16 match against Russia, which Spain lost 4-3 on penalties.
Unleashing the Spanish Sensation: Rodrigo's Football Finesse Quiz