Only if you paid for an upgrade and your car was compatible with said upgrade. Note that there are multiple different versions of these upgrades.
The self-driving tech was originally powered by now Intel owned firm, but that firm pulled the plug on Tesla getting more chips from them when Tesla started making full self driving claims.