Probably. Riding without a helmet may not be relevant to the issue of who caused the accident. So long as the other party was liable for the accident, you may still be entitled to compensation.