Depends entirely on the particular attack and the particular implementation. Even rolling code systems have vulnerabilities (e.g. relay attacks), they're just harder to attack.
Yup, someone stole teslas by relaying the key inside the house
Relay attacks can be defeated by precisely measuring the latency between the car and the fob/key device. Apparently relay attacks on Teslas are very difficult now days for this reason.