Yes, you can! In most countries, there are laws that actively protect women against violence from their partners. And generally speaking, physical abuse now is considered a criminal offense. If your boyfriend has been hitting you, talking to your local lawyer and filing a case would help put him in his place. Just make sure that you gather as much evidence as you can.