absolutely, and get both front and rear-facing ones if you can.
if you're ever involved in an accident where you are found to be 0% at fault, the insurance company of the person who is at fault can pay for the depreciation of your vehicle. this is called a diminished value claim. it's not an easy process but it's worth knowing about, especially if you have dash cams to easily prove yourself.
(i just learned about this the other day so i wanted to share)