Training martial arts isn’t about “getting a good workout.” Although, that is a nice by-product of training. You will get in the best shape of your life simply by learning something new.
But you don’t have to be in shape to start. In fact, the initial phase of learning occurs at a slower pace while you build your foundation. At the point that it becomes a factor, you’ll already be in great shape just through normal training!