Karate has many different styles, some of which do a point of debate, some of which do not do sparring, some full contact sparring. If the style is to do a full contact dojo, then yes. This can be valuable. In general, usually Kyokushin karate, although exceptions do exist.
It is great for overall health and staying in shape. While it isn’t the most effective style, it’s the most popular. Every city has one training school for karate and it will definitely help you in a street fight.