No, a lawyer cannot get your medical records without your consent, as you have the right to keep your personal health records private. However, you may provide written permission to your lawyer to review your medical records.
The insurance company may also request your medical records, but it is best to discuss what to disclose to them with your attorney, as insurers like to pry through your entire medical history for an excuse to deny your claim.