Can you bruise a muscle and if you can how long to heal?

Yes and depends. Muscles will bruise with blunt trauma and there may be intramuscular bleeding. The amount of time for healing depends on the severity of injury and may vary from a few days to 4-6 weeks.